Quellcode durchsuchen

Fixed sql migration issue with dashboard snapshots

Torkel Ödegaard vor 11 Jahren
Ursprung
Commit
7be7aeb70a
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go

+ 0 - 3
pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go

@@ -21,9 +21,6 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
 
 	// add v4
 	mg.AddMigration("create dashboard_snapshot table v4", NewAddTableMigration(snapshotV4))
-
-	// drop v4
-	addDropAllIndicesMigrations(mg, "v4", snapshotV4)
 	mg.AddMigration("drop table dashboard_snapshot_v4 #1", NewDropTableMigration("dashboard_snapshot"))
 
 	snapshotV5 := Table{