mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix boolean default in migration from false to 0 (#63952)
Fix boolean default in migration from false to 0
This commit is contained in:
parent
c4048fc826
commit
a05bf41ff9
@ -287,7 +287,7 @@ func addAlertRuleMigrations(mg *migrator.Migrator, defaultIntervalSeconds int64)
|
||||
Name: "is_paused",
|
||||
Type: migrator.DB_Bool,
|
||||
Nullable: false,
|
||||
Default: "false",
|
||||
Default: "0",
|
||||
},
|
||||
))
|
||||
}
|
||||
@ -351,7 +351,7 @@ func addAlertRuleVersionMigrations(mg *migrator.Migrator) {
|
||||
Name: "is_paused",
|
||||
Type: migrator.DB_Bool,
|
||||
Nullable: false,
|
||||
Default: "false",
|
||||
Default: "0",
|
||||
},
|
||||
))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user