Fix orgnization user watch repository (#2670)

* remove orgnization watch repositories

* fix migration

* fix typo and missing change

* remove unused code
This commit is contained in:
Lunny Xiao 2017-10-14 22:37:43 +08:00 committed by GitHub
parent a4cd4616c6
commit 514006a2e5
3 changed files with 40 additions and 2 deletions

View file

@ -140,6 +140,8 @@ var migrations = []Migration{
NewMigration("remove duplicate unit types", removeDuplicateUnitTypes),
// v45 -> v46
NewMigration("remove index column from repo_unit table", removeIndexColumnFromRepoUnitTable),
// v46 -> v47
NewMigration("remove organization watch repositories", removeOrganizationWatchRepo),
}
// Migrate database to current version