aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/migrations.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/migrations.go')
-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