mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Adds a default value to the last_applied column (#62818)
This commit is contained in:
parent
647f73ddc5
commit
c3cd4a720f
@ -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",
|
||||
}))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user