Set purchase date to date type

This commit is contained in:
snipe 2017-11-09 13:27:58 -08:00
parent 0c02b6d24e
commit 012afe99e2

View file

@ -22,7 +22,14 @@ class License extends Depreciable
protected $injectUniqueIdentifier = true;
use ValidatingTrait;
protected $dates = ['deleted_at'];
// We set these as protected dates so that they will be easily accessible via Carbon
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
'purchase_date'
];
public $timestamps = true;