浏览代码

minor fix for #10136

Torkel Ödegaard 8 年之前
父节点
当前提交
67f1435dc7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/services/sqlstore/migrations/dashboard_acl.go

+ 1 - 1
pkg/services/sqlstore/migrations/dashboard_acl.go

@@ -28,7 +28,7 @@ func addDashboardAclMigrations(mg *Migrator) {
 	//-------  indexes ------------------
 	mg.AddMigration("add unique index dashboard_acl_dashboard_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[0]))
 	mg.AddMigration("add unique index dashboard_acl_dashboard_id_user_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[1]))
-	mg.AddMigration("add unique index dashboard_acl_dashboard_id_group_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[2]))
+	mg.AddMigration("add unique index dashboard_acl_dashboard_id_team_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[2]))
 
 	const rawSQL = `
 INSERT INTO dashboard_acl