Просмотр исходного кода

dashfolder: change to migration text

First index for the dashboard_acl table had the word
unique in the migration description even though the
index is not unique
Daniel Lee 8 лет назад
Родитель
Сommit
2b814738c1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/services/sqlstore/migrations/dashboard_acl.go

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

@@ -26,7 +26,7 @@ func addDashboardAclMigrations(mg *Migrator) {
 	mg.AddMigration("create dashboard acl table", NewAddTableMigration(dashboardAclV1))
 
 	//-------  indexes ------------------
-	mg.AddMigration("add unique index dashboard_acl_dashboard_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[0]))
+	mg.AddMigration("add 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_team_id", NewAddIndexMigration(dashboardAclV1, dashboardAclV1.Indices[2]))