summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2024-03-27 13:55:28 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-28 12:08:43 +0100
commitba458530aa112424790c776936d1876296e97d7c (patch)
tree2766577e0b6e6bd15e6e473e3aaabbaf88513f6b /models
parentMerge pull request '[REFACTOR] webhook endpoint logic cleanup' (#2847) from o... (diff)
downloadforgejo-ba458530aa112424790c776936d1876296e97d7c.tar.xz
forgejo-ba458530aa112424790c776936d1876296e97d7c.zip
[COSMETIC] unify the wording of the Forgejo migration comments
Diffstat (limited to 'models')
-rw-r--r--models/forgejo_migrations/migrate.go16
1 files 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.