1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:44:04 +00:00

Add $casts, delete $dates in ImpersonationToken

This commit is contained in:
lukinovec 2023-02-17 16:13:15 +01:00
parent 4fb12683f5
commit 7d422d9c80

View file

@ -34,8 +34,8 @@ class ImpersonationToken extends Model
protected $table = 'tenant_user_impersonation_tokens'; protected $table = 'tenant_user_impersonation_tokens';
protected $dates = [ protected $casts = [
'created_at', 'created_at' => 'datetime',
]; ];
public static function booted(): void public static function booted(): void