Added migration for creation of federation_host table

This commit is contained in:
Clemens 2024-05-13 14:15:36 +02:00
commit e55533d64d
2 changed files with 34 additions and 0 deletions

View file

@ -66,6 +66,8 @@ var migrations = []*Migration{
NewMigration("Add `hide_archive_links` column to `release` table", AddHideArchiveLinksToRelease),
// v14 -> v15
NewMigration("Remove Gitea-specific columns from the repository and badge tables", RemoveGiteaSpecificColumnsFromRepositoryAndBadge),
// v15 -> v16
NewMigration("Create the `federation_host` table", CreateFederationHostTable),
}
// GetCurrentDBVersion returns the current Forgejo database version.