mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 20:44:07 +00:00
16 lines
234 B
Go
16 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))
|
||
|
}
|