[v9.4.x] Alerting: Fix boolean default in migration from false to 0 (#63963)
Alerting: Fix boolean default in migration from false to 0 (#63952)
Fix boolean default in migration from false to 0
(cherry picked from commit a05bf41ff9)
Co-authored-by: Alex Moreno <alexander.moreno@grafana.com>
This commit is contained in:
committed by
Kevin Minehart
co-authored by
Alex Moreno
parent
fac483c393
commit
2386d78193
@@ -283,7 +283,7 @@ func addAlertRuleMigrations(mg *migrator.Migrator, defaultIntervalSeconds int64)
|
||||
Name: "is_paused",
|
||||
Type: migrator.DB_Bool,
|
||||
Nullable: false,
|
||||
Default: "false",
|
||||
Default: "0",
|
||||
},
|
||||
))
|
||||
|
||||
@@ -352,7 +352,7 @@ func addAlertRuleVersionMigrations(mg *migrator.Migrator) {
|
||||
Name: "is_paused",
|
||||
Type: migrator.DB_Bool,
|
||||
Nullable: false,
|
||||
Default: "false",
|
||||
Default: "0",
|
||||
},
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user