Convert email/password token date fields

This commit is contained in:
Toby Zerner 2015-07-31 20:14:19 +09:30
parent 76e855246c
commit 973896c7ab
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,11 @@ class EmailToken extends Model
*/
protected $table = 'email_tokens';
/**
* {@inheritdoc}
*/
protected $dates = ['created_at'];
/**
* Use a custom primary key for this model.
*

View File

@ -15,7 +15,7 @@ class PasswordToken extends Model
/**
* {@inheritdoc}
*/
public $dates = ['created_at'];
protected $dates = ['created_at'];
/**
* Use a custom primary key for this model.