Merge pull request #2982 from boracakirel/change-date-casting
Changed date casting for Laravel 10.
This commit is contained in:
commit
039bd61a1e
@ -11,8 +11,6 @@ class Reconciliation extends Model
|
||||
|
||||
protected $table = 'reconciliations';
|
||||
|
||||
protected $dates = ['deleted_at', 'started_at', 'ended_at'];
|
||||
|
||||
/**
|
||||
* Attributes that should be mass-assignable.
|
||||
*
|
||||
@ -30,6 +28,8 @@ class Reconciliation extends Model
|
||||
'reconciled' => 'boolean',
|
||||
'transactions' => 'array',
|
||||
'deleted_at' => 'datetime',
|
||||
'started_at' => 'datetime',
|
||||
'ended_at' => 'datetime',
|
||||
];
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user