set default value for "tags"

This commit is contained in:
Boy132 2024-04-30 00:01:08 +02:00
parent e82a3b838c
commit e07eabc579
2 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class Egg extends Model
'config_logs' => null,
'config_files' => null,
'update_url' => null,
'tags' => '[]',
];
protected function casts(): array

View File

@ -108,6 +108,7 @@ class Node extends Model
'daemon_sftp' => 2022,
'daemon_listen' => 8080,
'maintenance_mode' => false,
'tags' => '[]',
];
protected function casts(): array
@ -120,6 +121,7 @@ class Node extends Model
'behind_proxy' => 'boolean',
'public' => 'boolean',
'maintenance_mode' => 'boolean',
'tags' => 'array',
];
}