Alerting: Change settings column type to mediumtext (#26549)
* Alerting: Change settings column type to mediumtext * Remove unnecessary newline
This commit is contained in:
@@ -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;"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user