@@ -57,7 +57,7 @@ type Version struct {
57
57
// update minDBVersion accordingly
58
58
var migrations = []Migration {
59
59
60
- // Gitea 1.5.3 ends at v70
60
+ // Gitea 1.5.0 ends at v69
61
61
62
62
// v70 -> v71
63
63
NewMigration ("add issue_dependencies" , addIssueDependencies ),
@@ -66,7 +66,7 @@ var migrations = []Migration{
66
66
// v72 -> v73
67
67
NewMigration ("add review" , addReview ),
68
68
69
- // Gitea 1.6.4 ends at v73
69
+ // Gitea 1.6.0 ends at v73
70
70
71
71
// v73 -> v74
72
72
NewMigration ("add must_change_password column for users table" , addMustChangePassword ),
@@ -75,7 +75,7 @@ var migrations = []Migration{
75
75
// v75 -> v76
76
76
NewMigration ("clear nonused data which not deleted when user was deleted" , clearNonusedData ),
77
77
78
- // Gitea 1.7.6 ends at v76
78
+ // Gitea 1.7.0 ends at v76
79
79
80
80
// v76 -> v77
81
81
NewMigration ("add pull request rebase with merge commit" , addPullRequestRebaseWithMerge ),
@@ -90,7 +90,7 @@ var migrations = []Migration{
90
90
// v81 -> v82
91
91
NewMigration ("update U2F counter type" , changeU2FCounterType ),
92
92
93
- // Gitea 1.8.3 ends at v82
93
+ // Gitea 1.8.0 ends at v82
94
94
95
95
// v82 -> v83
96
96
NewMigration ("hot fix for wrong release sha1 on release table" , fixReleaseSha1OnReleaseTable ),
@@ -105,7 +105,7 @@ var migrations = []Migration{
105
105
// v87 -> v88
106
106
NewMigration ("add avatar field to repository" , addAvatarFieldToRepository ),
107
107
108
- // Gitea 1.9.6 ends at v88
108
+ // Gitea 1.9.0 ends at v88
109
109
110
110
// v88 -> v89
111
111
NewMigration ("add commit status context field to commit_status" , addCommitStatusContext ),
@@ -129,14 +129,14 @@ var migrations = []Migration{
129
129
NewMigration ("add repo_admin_change_team_access to user" , addRepoAdminChangeTeamAccessColumnForUser ),
130
130
// v98 -> v99
131
131
NewMigration ("add original author name and id on migrated release" , addOriginalAuthorOnMigratedReleases ),
132
-
133
- // Gitea 1.10.3 ends at v99
134
-
135
132
// v99 -> v100
136
133
NewMigration ("add task table and status column for repository table" , addTaskTable ),
137
134
// v100 -> v101
138
135
NewMigration ("update migration repositories' service type" , updateMigrationServiceTypes ),
139
136
// v101 -> v102
137
+
138
+ // Gitea 1.10.0 ends at v102
139
+
140
140
NewMigration ("change length of some external login users columns" , changeSomeColumnsLengthOfExternalLoginUser ),
141
141
// v102 -> v103
142
142
NewMigration ("update migration repositories' service type" , dropColumnHeadUserNameOnPullRequest ),
@@ -167,6 +167,9 @@ var migrations = []Migration{
167
167
// v115 -> v116
168
168
NewMigration ("add user_id prefix to existing user avatar name" , renameExistingUserAvatarName ),
169
169
// v116 -> v117
170
+
171
+ // Gitea 1.11.0 ends at v117
172
+
170
173
NewMigration ("Extend TrackedTimes" , extendTrackedTimes ),
171
174
// v117 -> v118
172
175
NewMigration ("Add block on rejected reviews branch protection" , addBlockOnRejectedReviews ),
@@ -213,6 +216,9 @@ var migrations = []Migration{
213
216
// v138 -> v139
214
217
NewMigration ("Add ResolveDoerID to Comment table" , addResolveDoerIDCommentColumn ),
215
218
// v139 -> v140
219
+
220
+ // Gitea 1.12.0 ends at v140
221
+
216
222
NewMigration ("prepend refs/heads/ to issue refs" , prependRefsHeadsToIssueRefs ),
217
223
// v140 -> v141
218
224
NewMigration ("Save detected language file size to database instead of percent" , fixLanguageStatsToSaveSize ),
@@ -243,6 +249,9 @@ var migrations = []Migration{
243
249
// v153 > v154
244
250
NewMigration ("add Team review request support" , addTeamReviewRequestSupport ),
245
251
// v154 > v155
252
+
253
+ // Gitea 1.13.0 ends at v155
254
+
246
255
NewMigration ("add timestamps to Star, Label, Follow, Watch and Collaboration" , addTimeStamps ),
247
256
// v155 -> v156
248
257
NewMigration ("add changed_protected_files column for pull_request table" , addChangedProtectedFilesPullRequestColumn ),
0 commit comments