mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-05 04:13:43 +00:00
fix(backups): validate S3 storage before backup scheduling
Prevent scheduled database backups from enabling S3 uploads without a valid team-owned storage configuration, and preserve the previous S3 storage ID in missing-storage error messages. Add coverage for backup edit/create validation and S3 upload failure messaging.
This commit is contained in:
1 parent
a49bc5dd14
commit
a4d75ff0e2
8 files changed
+256
-6
No files matched your search
@@ -15,6 +15,7 @@ class S3Storage extends BaseModel
|
||||
use HasFactory, HasSafeStringAttribute;
|
||||
|
||||
protected $fillable = [
|
||||
'team_id',
|
||||
'name',
|
||||
'description',
|
||||
'region',
|
||||
|
||||
Reference in new issue
Block a user