[Docu] Fix Location of Comments in migrations.go (#13900)

This commit is contained in:
6543 2020-12-08 23:24:23 +00:00 committed by GitHub
parent 1a372e5b21
commit 658e90a114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,10 +134,10 @@ var migrations = []Migration{
// v100 -> v101 // v100 -> v101
NewMigration("update migration repositories' service type", updateMigrationServiceTypes), NewMigration("update migration repositories' service type", updateMigrationServiceTypes),
// v101 -> v102 // v101 -> v102
NewMigration("change length of some external login users columns", changeSomeColumnsLengthOfExternalLoginUser),
// Gitea 1.10.0 ends at v102 // Gitea 1.10.0 ends at v102
NewMigration("change length of some external login users columns", changeSomeColumnsLengthOfExternalLoginUser),
// v102 -> v103 // v102 -> v103
NewMigration("update migration repositories' service type", dropColumnHeadUserNameOnPullRequest), NewMigration("update migration repositories' service type", dropColumnHeadUserNameOnPullRequest),
// v103 -> v104 // v103 -> v104
@ -167,10 +167,10 @@ var migrations = []Migration{
// v115 -> v116 // v115 -> v116
NewMigration("add user_id prefix to existing user avatar name", renameExistingUserAvatarName), NewMigration("add user_id prefix to existing user avatar name", renameExistingUserAvatarName),
// v116 -> v117 // v116 -> v117
NewMigration("Extend TrackedTimes", extendTrackedTimes),
// Gitea 1.11.0 ends at v117 // Gitea 1.11.0 ends at v117
NewMigration("Extend TrackedTimes", extendTrackedTimes),
// v117 -> v118 // v117 -> v118
NewMigration("Add block on rejected reviews branch protection", addBlockOnRejectedReviews), NewMigration("Add block on rejected reviews branch protection", addBlockOnRejectedReviews),
// v118 -> v119 // v118 -> v119
@ -216,10 +216,10 @@ var migrations = []Migration{
// v138 -> v139 // v138 -> v139
NewMigration("Add ResolveDoerID to Comment table", addResolveDoerIDCommentColumn), NewMigration("Add ResolveDoerID to Comment table", addResolveDoerIDCommentColumn),
// v139 -> v140 // v139 -> v140
NewMigration("prepend refs/heads/ to issue refs", prependRefsHeadsToIssueRefs),
// Gitea 1.12.0 ends at v140 // Gitea 1.12.0 ends at v140
NewMigration("prepend refs/heads/ to issue refs", prependRefsHeadsToIssueRefs),
// v140 -> v141 // v140 -> v141
NewMigration("Save detected language file size to database instead of percent", fixLanguageStatsToSaveSize), NewMigration("Save detected language file size to database instead of percent", fixLanguageStatsToSaveSize),
// v141 -> v142 // v141 -> v142
@ -249,10 +249,10 @@ var migrations = []Migration{
// v153 > v154 // v153 > v154
NewMigration("add Team review request support", addTeamReviewRequestSupport), NewMigration("add Team review request support", addTeamReviewRequestSupport),
// v154 > v155 // v154 > v155
NewMigration("add timestamps to Star, Label, Follow, Watch and Collaboration", addTimeStamps),
// Gitea 1.13.0 ends at v155 // Gitea 1.13.0 ends at v155
NewMigration("add timestamps to Star, Label, Follow, Watch and Collaboration", addTimeStamps),
// v155 -> v156 // v155 -> v156
NewMigration("add changed_protected_files column for pull_request table", addChangedProtectedFilesPullRequestColumn), NewMigration("add changed_protected_files column for pull_request table", addChangedProtectedFilesPullRequestColumn),
// v156 -> v157 // v156 -> v157