mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
10e8a4f8b8
(cherry picked from commit86b26436af
) (cherry picked from commit479cba59ac
) (cherry picked from commit4765f9a889
) (cherry picked from commitaf771410bf
) (cherry picked from commitd1ea9305d8
) (cherry picked from commitf77e1bb7ab
) (cherry picked from commit0b95f8fe89
) (cherry picked from commit4f8fb2390a
) (cherry picked from commit8ea0e22ff6
) (cherry picked from commit43ac19ac59
) (cherry picked from commit0d2f63df4f
) (cherry picked from commitd02a8036fd
) (cherry picked from commit1fe4c7db94
) (cherry picked from commitd641cdeaf0
)
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))
|
|
}
|