mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 10:13:26 +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';
|
protected $table = 'email_tokens';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
protected $dates = ['created_at'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use a custom primary key for this model.
|
* Use a custom primary key for this model.
|
||||||
*
|
*
|
||||||
|
@ -15,7 +15,7 @@ class PasswordToken extends Model
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public $dates = ['created_at'];
|
protected $dates = ['created_at'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use a custom primary key for this model.
|
* Use a custom primary key for this model.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user