File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ var migrations = []Migration{
273
273
// v108 -> v109
274
274
NewMigration ("Add comment_id on table notification" , addCommentIDOnNotification ),
275
275
// v109 -> v110
276
- NewMigration ("update branch protection whitelist enable" , addBranchProtectionAddEnableWhitelist ),
276
+ NewMigration ("update branch protection for can push and whitelist enable" , addBranchProtectionCanPushAndEnableWhitelist ),
277
277
}
278
278
279
279
// Migrate database to current version
Original file line number Diff line number Diff line change 8
8
"xorm.io/xorm"
9
9
)
10
10
11
- func addBranchProtectionAddEnableWhitelist (x * xorm.Engine ) error {
11
+ func addBranchProtectionCanPushAndEnableWhitelist (x * xorm.Engine ) error {
12
12
13
13
type ProtectedBranch struct {
14
14
CanPush bool `xorm:"NOT NULL DEFAULT false"`
You can’t perform that action at this time.
0 commit comments