1
0
Fork 0
forked from forgejo/forgejo

Migration v244.go should be v243.go (#22988)

This commit is contained in:
zeripath 2023-02-19 14:24:23 +00:00 committed by GitHub
parent 54d7435d28
commit 2b02343e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,16 @@
// Copyright 2023 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package v1_19 //nolint
import (
"xorm.io/xorm"
)
func AddExclusiveLabel(x *xorm.Engine) error {
type Label struct {
Exclusive bool
}
return x.Sync(new(Label))
}