mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Fix casts on models; closes #49
This commit is contained in:
@@ -35,4 +35,13 @@ class ServiceOptions extends Model
|
||||
*/
|
||||
protected $table = 'service_options';
|
||||
|
||||
/**
|
||||
* Cast values to correct type.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'parent_service' => 'integer',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user