实现 LightOps 运维面板基础功能
This commit is contained in:
5
migrations/0007_alert_notification_details.sql
Normal file
5
migrations/0007_alert_notification_details.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE alert_rules ADD COLUMN silence_until TEXT;
|
||||
ALTER TABLE alert_rules ADD COLUMN notify_recovery INTEGER NOT NULL DEFAULT 1;
|
||||
|
||||
INSERT OR IGNORE INTO settings(key, value) VALUES
|
||||
('notifications.recovery_enabled', 'true');
|
||||
Reference in New Issue
Block a user