修复
This commit is contained in:
parent
cfae9acb42
commit
9d3d127b1d
@ -32,8 +32,8 @@ class Host extends Model
|
||||
protected $casts = [
|
||||
// 'configuration' => 'array',
|
||||
'suspended_at' => 'datetime',
|
||||
'price' => 'decimal',
|
||||
'managed_price' => 'decimal',
|
||||
'price' => 'decimal:2',
|
||||
'managed_price' => 'decimal:2',
|
||||
];
|
||||
|
||||
protected static function boot()
|
||||
|
@ -39,7 +39,7 @@ class User extends Authenticatable
|
||||
|
||||
protected $casts = [
|
||||
'email_verified_at' => 'datetime',
|
||||
'balance' => 'decimal',
|
||||
'balance' => 'decimal:2',
|
||||
'banned_at' => 'datetime',
|
||||
'birthday_at' => 'date',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user