fix: Gitea last drop
Some database fields were added in the database to facilitate migration from Gitea and do not serve any purpose. Drop them since v1.22 is the last version of the database to allow a transparent migration to Forgejo.
This commit is contained in:
parent
1fffd116e5
commit
274bc480b4
2 changed files with 36 additions and 0 deletions
|
@ -362,6 +362,9 @@ func prepareMigrationTasks() []*migration {
|
|||
newMigration(300, "Add force-push branch protection support", v1_23.AddForcePushBranchProtection),
|
||||
newMigration(301, "Add skip_secondary_authorization option to oauth2 application table", v1_23.AddSkipSecondaryAuthColumnToOAuth2ApplicationTable),
|
||||
newMigration(302, "Add index to action_task stopped log_expired", v1_23.AddIndexToActionTaskStoppedLogExpired),
|
||||
|
||||
// Migration to Forgejo v10
|
||||
newMigration(303, "Gitea last drop", v1_23.GiteaLastDrop),
|
||||
}
|
||||
return preparedMigrations
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue