瀏覽代碼

fixed bug in datasource schema migration

Torkel Ödegaard 11 年之前
父節點
當前提交
011fdf7ab6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      pkg/services/sqlstore/migrations/datasource_mig.go

+ 2 - 1
pkg/services/sqlstore/migrations/datasource_mig.go

@@ -83,8 +83,9 @@ func addDataSourceMigration(mg *Migrator) {
 		"type":                "type",
 		"name":                "name",
 		"access":              "access",
-		"url":                 "password",
+		"url":                 "url",
 		"user":                "user",
+		"password":            "password",
 		"database":            "database",
 		"basic_auth":          "basic_auth",
 		"basic_auth_user":     "basic_auth_user",