feat(alerting): add datasource ref to alert rule

This commit is contained in:
bergquist
2016-05-25 12:57:49 +02:00
parent 0f58f8a679
commit b2a4d8083e
8 changed files with 122 additions and 61 deletions
@@ -8,6 +8,7 @@ import (
"github.com/grafana/grafana/pkg/services/sqlstore/sqlutil"
. "github.com/smartystreets/goconvey/convey"
//"github.com/grafana/grafana/pkg/log"
)
var indexTypes = []string{"Unknown", "INDEX", "UNIQUE INDEX"}
@@ -28,7 +29,7 @@ func TestMigrations(t *testing.T) {
sqlutil.CleanDB(x)
mg := NewMigrator(x)
//mg.LogLevel = log.DEBUG
//mg.LogLevel = log.ERROR
AddMigrations(mg)
err = mg.Start()