add timestamp columns to tables
This commit is contained in:
@ -11,9 +11,16 @@ 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()
|
||||
{
|
||||
return $this->belongsTo('App\Models\WinningBids', 'winning_item_num', 'iditems');
|
||||
|
Reference in New Issue
Block a user