summaryrefslogtreecommitdiffstats
path: root/models/migrations/migrations.go
diff options
context:
space:
mode:
authorMorlinest <Morlinest@users.noreply.github.com>2017-10-02 22:22:25 +0200
committerLauris BH <lauris@nix.lv>2017-10-02 23:22:25 +0300
commita04718a2a6c2cfd46be17572b8220ee14b1bd1ac (patch)
tree017e127de6475b5d28c5e6ee5c8eb9123377135f /models/migrations/migrations.go
parent46cc45f04967ac4e258daafb98a716bc5ac77a94 (diff)
downloadgitea-a04718a2a6c2cfd46be17572b8220ee14b1bd1ac.tar.gz
gitea-a04718a2a6c2cfd46be17572b8220ee14b1bd1ac.zip
Remove repo unit index (#2621)
* Remove repo unit index * Fix sqlite
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r--models/migrations/migrations.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index c2cd7568af..99fedf9d19 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -138,6 +138,8 @@ var migrations = []Migration{
NewMigration("fix protected branch can push value to false", fixProtectedBranchCanPushValue),
// v44 -> v45
NewMigration("remove duplicate unit types", removeDuplicateUnitTypes),
+ // v45 -> v46
+ NewMigration("remove index column from repo_unit table", removeIndexColumnFromRepoUnitTable),
}
// Migrate database to current version