Alerting: Adds a default value to the last_applied column (#62818)
This commit is contained in:
1 parent
647f73ddc5
commit
c3cd4a720f
1 file changed
+1
-1
@@ -22,7 +22,7 @@ func AddTablesMigrations(mg *migrator.Migrator) {
|
||||
historicalTableMigrations(mg)
|
||||
|
||||
mg.AddMigration("add last_applied column to alert_configuration_history", migrator.NewAddColumnMigration(migrator.Table{Name: "alert_configuration_history"}, &migrator.Column{
|
||||
Name: "last_applied", Type: migrator.DB_Int, Nullable: false,
|
||||
Name: "last_applied", Type: migrator.DB_Int, Nullable: false, Default: "0",
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user