mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Convert email/password token date fields
This commit is contained in:
parent
ba41c5313a
commit
5706c71c86
@ -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…
x
Reference in New Issue
Block a user