mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Change settings column type to mediumtext (#26549)
* Alerting: Change settings column type to mediumtext * Remove unnecessary newline
This commit is contained in:
parent
1df4f71197
commit
ad4f8b7091
@ -171,4 +171,8 @@ func addAlertMigrations(mg *Migrator) {
|
|||||||
mg.AddMigration("Add column secure_settings in alert_notification", NewAddColumnMigration(alert_notification, &Column{
|
mg.AddMigration("Add column secure_settings in alert_notification", NewAddColumnMigration(alert_notification, &Column{
|
||||||
Name: "secure_settings", Type: DB_Text, Nullable: true,
|
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;"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user