2605e121d4
(cherry picked from commit 86b26436af
)
Conflicts:
models/forgejo_migrations/migrate.go
trivial context conflict
15 lines
234 B
Go
15 lines
234 B
Go
// SPDX-License-Identifier: MIT
|
|
|
|
package forgejo_v1_20 //nolint:revive
|
|
|
|
import (
|
|
"xorm.io/xorm"
|
|
)
|
|
|
|
func CreateSemVerTable(x *xorm.Engine) error {
|
|
type ForgejoSemVer struct {
|
|
Version string
|
|
}
|
|
|
|
return x.Sync(new(ForgejoSemVer))
|
|
}
|