This commit is contained in:
iVampireSP.com 2023-01-14 18:35:13 +08:00
parent cfae9acb42
commit 9d3d127b1d
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

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