summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-12-08 23:24:23 +0000
committerGitHub <noreply@github.com>2020-12-09 00:24:23 +0100
commit658e90a1141a03e5249770a6a670b818fe307e1d (patch)
tree809e7381301f1f85493152ffbf06eecd977739ad /models
parent1a372e5b21ab084678b0471e0f1c0fea9e3d023d (diff)
downloadgitea-658e90a1141a03e5249770a6a670b818fe307e1d.tar.gz
gitea-658e90a1141a03e5249770a6a670b818fe307e1d.zip
[Docu] Fix Location of Comments in migrations.go (#13900)
Diffstat (limited to 'models')
-rw-r--r--models/migrations/migrations.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index b58c0551b5..d2ad20a36c 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -134,10 +134,10 @@ var migrations = []Migration{
// v100 -> v101
NewMigration("update migration repositories' service type", updateMigrationServiceTypes),
// v101 -> v102
+ NewMigration("change length of some external login users columns", changeSomeColumnsLengthOfExternalLoginUser),
// Gitea 1.10.0 ends at v102
- NewMigration("change length of some external login users columns", changeSomeColumnsLengthOfExternalLoginUser),
// v102 -> v103
NewMigration("update migration repositories' service type", dropColumnHeadUserNameOnPullRequest),
// v103 -> v104
@@ -167,10 +167,10 @@ var migrations = []Migration{
// v115 -> v116
NewMigration("add user_id prefix to existing user avatar name", renameExistingUserAvatarName),
// v116 -> v117
+ NewMigration("Extend TrackedTimes", extendTrackedTimes),
// Gitea 1.11.0 ends at v117
- NewMigration("Extend TrackedTimes", extendTrackedTimes),
// v117 -> v118
NewMigration("Add block on rejected reviews branch protection", addBlockOnRejectedReviews),
// v118 -> v119
@@ -216,10 +216,10 @@ var migrations = []Migration{
// v138 -> v139
NewMigration("Add ResolveDoerID to Comment table", addResolveDoerIDCommentColumn),
// v139 -> v140
+ NewMigration("prepend refs/heads/ to issue refs", prependRefsHeadsToIssueRefs),
// Gitea 1.12.0 ends at v140
- NewMigration("prepend refs/heads/ to issue refs", prependRefsHeadsToIssueRefs),
// v140 -> v141
NewMigration("Save detected language file size to database instead of percent", fixLanguageStatsToSaveSize),
// v141 -> v142
@@ -249,10 +249,10 @@ var migrations = []Migration{
// v153 > v154
NewMigration("add Team review request support", addTeamReviewRequestSupport),
// v154 > v155
+ NewMigration("add timestamps to Star, Label, Follow, Watch and Collaboration", addTimeStamps),
// Gitea 1.13.0 ends at v155
- NewMigration("add timestamps to Star, Label, Follow, Watch and Collaboration", addTimeStamps),
// v155 -> v156
NewMigration("add changed_protected_files column for pull_request table", addChangedProtectedFilesPullRequestColumn),
// v156 -> v157