From ba458530aa112424790c776936d1876296e97d7c Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 27 Mar 2024 13:55:28 +0100 Subject: [PATCH] [COSMETIC] unify the wording of the Forgejo migration comments --- models/forgejo_migrations/migrate.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/models/forgejo_migrations/migrate.go b/models/forgejo_migrations/migrate.go index 3c85031e9a..c2ffda5eb7 100644 --- a/models/forgejo_migrations/migrate.go +++ b/models/forgejo_migrations/migrate.go @@ -39,21 +39,21 @@ func NewMigration(desc string, fn func(*xorm.Engine) error) *Migration { // Add new migrations to the bottom of the list. var migrations = []*Migration{ // v0 -> v1 - NewMigration("Add Forgejo Blocked Users table", forgejo_v1_20.AddForgejoBlockedUser), + NewMigration("Create the `forgejo_blocked_user` table", forgejo_v1_20.AddForgejoBlockedUser), // v1 -> v2 - NewMigration("create the forgejo_sem_ver table", forgejo_v1_20.CreateSemVerTable), + NewMigration("Create the `forgejo_sem_ver` table", forgejo_v1_20.CreateSemVerTable), // v2 -> v3 - NewMigration("create the forgejo_auth_token table", forgejo_v1_20.CreateAuthorizationTokenTable), + NewMigration("Create the `forgejo_auth_token` table", forgejo_v1_20.CreateAuthorizationTokenTable), // v3 -> v4 - NewMigration("Add default_permissions to repo_unit", forgejo_v1_22.AddDefaultPermissionsToRepoUnit), + NewMigration("Add the `default_permissions` column to the `repo_unit` table", forgejo_v1_22.AddDefaultPermissionsToRepoUnit), // v4 -> v5 - NewMigration("create the forgejo_repo_flag table", forgejo_v1_22.CreateRepoFlagTable), + NewMigration("Create the `forgejo_repo_flag` table", forgejo_v1_22.CreateRepoFlagTable), // v5 -> v6 - NewMigration("Add wiki_branch to repository", forgejo_v1_22.AddWikiBranchToRepository), + NewMigration("Add the `wiki_branch` column to the `repository` table", forgejo_v1_22.AddWikiBranchToRepository), // v6 -> v7 - NewMigration("Add enable_repo_unit_hints to the user table", forgejo_v1_22.AddUserRepoUnitHintsSetting), + NewMigration("Add the `enable_repo_unit_hints` column to the `user` table", forgejo_v1_22.AddUserRepoUnitHintsSetting), // v7 -> v8 - NewMigration("Remove SSH signatures from Release notes", forgejo_v1_22.RemoveSSHSignaturesFromReleaseNotes), + NewMigration("Modify the `release`.`note` content to remove SSH signatures", forgejo_v1_22.RemoveSSHSignaturesFromReleaseNotes), } // GetCurrentDBVersion returns the current Forgejo database version.