mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(alerting): disable feature toggle
this feature toggle caused migration tests to fail
This commit is contained in:
parent
45b2b4bc52
commit
411178d384
@ -2,14 +2,9 @@ package migrations
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/grafana/grafana/pkg/services/sqlstore/migrator"
|
. "github.com/grafana/grafana/pkg/services/sqlstore/migrator"
|
||||||
"github.com/grafana/grafana/pkg/setting"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func addAlertMigrations(mg *Migrator) {
|
func addAlertMigrations(mg *Migrator) {
|
||||||
if !setting.AlertingEnabled {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
alertV1 := Table{
|
alertV1 := Table{
|
||||||
Name: "alert_rule",
|
Name: "alert_rule",
|
||||||
Columns: []*Column{
|
Columns: []*Column{
|
||||||
|
Loading…
Reference in New Issue
Block a user