tech(alerting): disable feature toggle

this feature toggle caused migration tests to fail
This commit is contained in:
bergquist 2016-05-23 08:24:10 +02:00
parent 45b2b4bc52
commit 411178d384

View File

@ -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{