add timestamp columns to tables

This commit is contained in:
2018-12-23 10:17:10 -05:00
parent 55fa60d28b
commit bf1906e215
5 changed files with 40 additions and 5 deletions

View File

@ -16,9 +16,16 @@ 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()
{
return $this->hasMany('App\Models\Checkout', 'bidder_num', 'idbidders');