Merge pull request #2982 from boracakirel/change-date-casting

Changed date casting for Laravel 10.
This commit is contained in:
Cüneyt Şentürk 2023-06-13 08:59:13 +03:00 committed by GitHub
commit 039bd61a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
];
/**