mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.
This commit is contained in:
@@ -71,6 +71,9 @@ func addAlertMigrations(mg *Migrator) {
|
||||
mg.AddMigration("Add column send_reminder", NewAddColumnMigration(alert_notification, &Column{
|
||||
Name: "send_reminder", Type: DB_Bool, Nullable: true, Default: "0",
|
||||
}))
|
||||
mg.AddMigration("Add column disable_resolved_message", NewAddColumnMigration(alert_notification, &Column{
|
||||
Name: "disable_resolved_message", Type: DB_Bool, Nullable: false, Default: "1",
|
||||
}))
|
||||
|
||||
mg.AddMigration("add index alert_notification org_id & name", NewAddIndexMigration(alert_notification, alert_notification.Indices[0]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user