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