mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 09:54:44 +02:00
set default value for "tags"
This commit is contained in:
parent
e82a3b838c
commit
e07eabc579
@ -128,6 +128,7 @@ class Egg extends Model
|
|||||||
'config_logs' => null,
|
'config_logs' => null,
|
||||||
'config_files' => null,
|
'config_files' => null,
|
||||||
'update_url' => null,
|
'update_url' => null,
|
||||||
|
'tags' => '[]',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected function casts(): array
|
protected function casts(): array
|
||||||
|
@ -108,6 +108,7 @@ class Node extends Model
|
|||||||
'daemon_sftp' => 2022,
|
'daemon_sftp' => 2022,
|
||||||
'daemon_listen' => 8080,
|
'daemon_listen' => 8080,
|
||||||
'maintenance_mode' => false,
|
'maintenance_mode' => false,
|
||||||
|
'tags' => '[]',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected function casts(): array
|
protected function casts(): array
|
||||||
@ -120,6 +121,7 @@ class Node extends Model
|
|||||||
'behind_proxy' => 'boolean',
|
'behind_proxy' => 'boolean',
|
||||||
'public' => 'boolean',
|
'public' => 'boolean',
|
||||||
'maintenance_mode' => 'boolean',
|
'maintenance_mode' => 'boolean',
|
||||||
|
'tags' => 'array',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user