add migration for normalized_federated_uri

This commit is contained in:
Michael Jerger 2025-03-13 13:28:00 +01:00
parent 806138a7af
commit 9d02cc65f6
6 changed files with 143 additions and 0 deletions

View file

@ -366,6 +366,8 @@ func prepareMigrationTasks() []*migration {
// Migration to Forgejo v10
newMigration(303, "Gitea last drop", v1_23.GiteaLastDrop),
newMigration(304, "Migrate `secret` column to store keying material", forgejo_migrations.MigrateTwoFactorToKeying),
newMigration(305, "Migrate `User.NormalizedFederatedURI` column to extract port & schema into FederatedHost", v1_23.MigrateNormalizedFederatedURI),
}
return preparedMigrations
}