mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
Drops unique index orgid_slug from dashboards.
This commit is contained in:
parent
6ab526881a
commit
6d2a555866
@ -163,4 +163,8 @@ func addDashboardMigration(mg *Migrator) {
|
||||
mg.AddMigration("Add unique index dashboard_org_id_uid", NewAddIndexMigration(dashboardV2, &Index{
|
||||
Cols: []string{"org_id", "uid"}, Type: UniqueIndex,
|
||||
}))
|
||||
|
||||
mg.AddMigration("Remove unique index org_id_slug", NewDropIndexMigration(dashboardV2, &Index{
|
||||
Cols: []string{"org_id", "slug"}, Type: UniqueIndex,
|
||||
}))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user