mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 12:14:28 +00:00
fix: update webhook notification settings migration to use updateOrInsert and add logging
This commit is contained in:
1 parent
a3df33a4e0
commit
477738dd2f
2 files changed
+33
-29
No files matched your search
@@ -24,6 +24,8 @@ class WebhookNotificationSettings extends Model
|
||||
'backup_failure_webhook_notifications',
|
||||
'scheduled_task_success_webhook_notifications',
|
||||
'scheduled_task_failure_webhook_notifications',
|
||||
'docker_cleanup_success_webhook_notifications',
|
||||
'docker_cleanup_failure_webhook_notifications',
|
||||
'server_disk_usage_webhook_notifications',
|
||||
'server_reachable_webhook_notifications',
|
||||
'server_unreachable_webhook_notifications',
|
||||
@@ -44,6 +46,8 @@ class WebhookNotificationSettings extends Model
|
||||
'backup_failure_webhook_notifications' => 'boolean',
|
||||
'scheduled_task_success_webhook_notifications' => 'boolean',
|
||||
'scheduled_task_failure_webhook_notifications' => 'boolean',
|
||||
'docker_cleanup_success_webhook_notifications' => 'boolean',
|
||||
'docker_cleanup_failure_webhook_notifications' => 'boolean',
|
||||
'server_disk_usage_webhook_notifications' => 'boolean',
|
||||
'server_reachable_webhook_notifications' => 'boolean',
|
||||
'server_unreachable_webhook_notifications' => 'boolean',
|
||||
|
||||
Reference in new issue
Block a user