Add webhook channel type to notification channels
Introduces 'webhook' as a new channel_type option in the notification_channels table to support custom webhook integrations. Updates migration logic and adds a new migration script for this schema change.
This commit is contained in:
@@ -49,6 +49,7 @@ class InstallerController extends Controller
|
||||
'016_add_tags_to_domains.sql',
|
||||
'017_add_two_factor_authentication.sql',
|
||||
'018_add_user_isolation.sql',
|
||||
'019_add_webhook_channel_type.sql',
|
||||
];
|
||||
|
||||
try {
|
||||
@@ -183,7 +184,8 @@ class InstallerController extends Controller
|
||||
'015_create_error_logs_table.sql',
|
||||
'016_add_tags_to_domains.sql',
|
||||
'017_add_two_factor_authentication.sql',
|
||||
'018_add_user_isolation.sql'
|
||||
'018_add_user_isolation.sql',
|
||||
'019_add_webhook_channel_type.sql'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -364,6 +366,7 @@ class InstallerController extends Controller
|
||||
'016_add_tags_to_domains.sql',
|
||||
'017_add_two_factor_authentication.sql',
|
||||
'018_add_user_isolation.sql',
|
||||
'019_add_webhook_channel_type.sql',
|
||||
];
|
||||
|
||||
$stmt = $pdo->prepare("INSERT INTO migrations (migration) VALUES (?) ON DUPLICATE KEY UPDATE migration=migration");
|
||||
|
||||
Reference in New Issue
Block a user