Skip to content

Commit cc74015

Browse files
committed
Change migration back to 1.19
1 parent 6706f61 commit cc74015

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

models/migrations/migrations.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"code.gitea.io/gitea/models/migrations/v1_17"
2020
"code.gitea.io/gitea/models/migrations/v1_18"
2121
"code.gitea.io/gitea/models/migrations/v1_19"
22-
"code.gitea.io/gitea/models/migrations/v1_20"
2322
"code.gitea.io/gitea/models/migrations/v1_6"
2423
"code.gitea.io/gitea/models/migrations/v1_7"
2524
"code.gitea.io/gitea/models/migrations/v1_8"
@@ -461,7 +460,7 @@ var migrations = []Migration{
461460
// v242 -> v243
462461
NewMigration("Alter gpg_key_import content TEXT field to MEDIUMTEXT", v1_19.AlterPublicGPGKeyImportContentFieldToMediumText),
463462
// v243 -> v244
464-
NewMigration("Add exclusive label", v1_20.AddExclusiveLabel),
463+
NewMigration("Add exclusive label", v1_19.AddExclusiveLabel),
465464
}
466465

467466
// GetCurrentDBVersion returns the current db version

models/migrations/v1_20/v244.go renamed to models/migrations/v1_19/v244.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 The Gitea Authors. All rights reserved.
22
// SPDX-License-Identifier: MIT
33

4-
package v1_20 //nolint
4+
package v1_19 //nolint
55

66
import (
77
"fmt"

0 commit comments

Comments
 (0)