fix carbon
This commit is contained in:
1 parent
3af30b34b5
commit
d0915a611e
12 files changed
+282
-44
No files matched your search
@@ -15,6 +15,18 @@ class BettypeUser extends Model
|
||||
'unique_key',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the attributes that should be cast.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'is_active' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
public function multiline_setting()
|
||||
{
|
||||
return $this->belongsTo(MultilineSetting::class);
|
||||
|
||||
@@ -75,6 +75,11 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
'app_authentication_secret' => 'encrypted',
|
||||
'app_authentication_recovery_codes' => 'encrypted:array',
|
||||
'has_email_authentication' => 'boolean',
|
||||
'is_multiline_direct' => 'boolean',
|
||||
'all_only_none' => 'boolean',
|
||||
'partner_show' => 'boolean',
|
||||
'partner_compare' => 'boolean',
|
||||
'bookmaker_partner_differences' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user