Alerting: Change settings column type to mediumtext (#26549)
* Alerting: Change settings column type to mediumtext
* Remove unnecessary newline
(cherry picked from commit ad4f8b7091)
This commit is contained in:
committed by
Leonard Gram
parent
5b7d1c7fe1
commit
9c7776cd58
@@ -168,4 +168,8 @@ func addAlertMigrations(mg *Migrator) {
|
||||
mg.AddMigration("Remove unique index org_id_name", NewDropIndexMigration(alert_notification, &Index{
|
||||
Cols: []string{"org_id", "name"}, Type: UniqueIndex,
|
||||
}))
|
||||
|
||||
// change column type of alert.settings
|
||||
mg.AddMigration("alter alert.settings to mediumtext", NewRawSqlMigration("").
|
||||
Mysql("ALTER TABLE alert MODIFY settings MEDIUMTEXT;"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user