aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/migrations.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r--models/migrations/migrations.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index b1c91beef6..2686dfb3cf 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -351,9 +351,11 @@ var migrations = []Migration{
// v198 -> v199
NewMigration("Add issue content history table", addTableIssueContentHistory),
// v199 -> v200
- NewMigration("Add remote version table", addRemoteVersionTable),
+ NewMigration("No-op (remote version is using AppState now)", addRemoteVersionTableNoop),
// v200 -> v201
NewMigration("Add table app_state", addTableAppState),
+ // v201 -> v202
+ NewMigration("Drop table remote_version (if exists)", dropTableRemoteVersion),
}
// GetCurrentDBVersion returns the current db version