Commit ad4f8b70 by Sofia Papagiannaki Committed by GitHub

Alerting: Change settings column type to mediumtext (#26549)

* Alerting: Change settings column type to mediumtext

* Remove unnecessary newline
parent 1df4f711
......@@ -171,4 +171,8 @@ func addAlertMigrations(mg *Migrator) {
mg.AddMigration("Add column secure_settings in alert_notification", NewAddColumnMigration(alert_notification, &Column{
Name: "secure_settings", Type: DB_Text, Nullable: true,
}))
// change column type of alert.settings
mg.AddMigration("alter alert.settings to mediumtext", NewRawSqlMigration("").
Mysql("ALTER TABLE alert MODIFY settings MEDIUMTEXT;"))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment