refactor(models): add fillable attributes for database configuration options

Add explicit fillable attributes to Service and all Standalone* database models
for new configuration options: public_port_timeout, enable_ssl, ssl_mode,
is_log_drain_enabled, is_include_timestamps, and custom_docker_run_options.

Add tests to MassAssignmentProtectionTest to verify these attributes are
properly protected by mass assignment protection across all relevant models.
This commit is contained in:
Andras Bacsai
2026-03-30 08:11:23 +02:00
parent 7ad51241f3
commit c0c0349880
10 changed files with 89 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ class Service extends BaseModel
'service_type',
'config_hash',
'compose_parsing_version',
'is_container_label_escape_enabled',
];
protected $appends = ['server_status', 'status'];