add timestamp columns to tables
This commit is contained in:
parent
55fa60d28b
commit
bf1906e215
@ -16,7 +16,14 @@ class Bidders extends Model
|
||||
'bidder_zip',
|
||||
'bidder_phone',
|
||||
'bidder_email',
|
||||
'bidder_assigned_number'
|
||||
'bidder_assigned_number',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function checkout()
|
||||
|
@ -13,7 +13,14 @@ class Checkout extends Model
|
||||
'payment_method',
|
||||
'check_number',
|
||||
'cc_transaction',
|
||||
'cc_amount'
|
||||
'cc_amount',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function bidders()
|
||||
|
@ -11,7 +11,14 @@ class Items extends Model
|
||||
'item_desc',
|
||||
'item_min_bid',
|
||||
'item_est_value',
|
||||
'item_assigned_num'
|
||||
'item_assigned_num',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function winningBids()
|
||||
|
@ -8,7 +8,14 @@ class PaymentMethods extends Model
|
||||
{
|
||||
protected $table = 'payment_methods';
|
||||
protected $fillable = [
|
||||
'pm_name'
|
||||
'pm_name',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function checkout()
|
||||
|
@ -10,7 +10,14 @@ class WinningBids extends Model
|
||||
protected $fillable = [
|
||||
'winning_bidder_num',
|
||||
'winning_cost',
|
||||
'winning_item_num'
|
||||
'winning_item_num',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function items()
|
||||
|
Loading…
Reference in New Issue
Block a user