mirror of
https://github.com/flarum/core.git
synced 2025-07-21 16:51:34 +02:00
Convert email/password token date fields
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user