Browse Source

Update migrations.go

pull/5277/head
奶爸 7 years ago committed by GitHub
parent
commit
ee72690fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      models/migrations/migrations.go

2
models/migrations/migrations.go

@ -64,6 +64,8 @@ var migrations = []Migration{
NewMigration("update repository sizes", updateRepositorySizes), NewMigration("update repository sizes", updateRepositorySizes),
// v16 -> v17:v0.10.31 // v16 -> v17:v0.10.31
NewMigration("remove invalid protect branch whitelist", removeInvalidProtectBranchWhitelist), NewMigration("remove invalid protect branch whitelist", removeInvalidProtectBranchWhitelist),
// v17 -> v18:v0.12.x
NewMigration("clean unlinked webhook and hook_tasks", cleanUnlinkedWebhookAndHookTasks),
} }
// Migrate database to current version // Migrate database to current version

Loading…
Cancel
Save