mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Convert email/password token date fields
This commit is contained in:
parent
76e855246c
commit
973896c7ab
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user