This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
package v1_18
|
||||
|
||||
import (
|
||||
"code.gitea.io/gitea/modules/timeutil"
|
||||
|
||||
"xorm.io/xorm"
|
||||
"gitea.dev/models/db"
|
||||
"gitea.dev/modules/timeutil"
|
||||
)
|
||||
|
||||
type SystemSetting struct {
|
||||
@@ -18,6 +17,6 @@ type SystemSetting struct {
|
||||
Updated timeutil.TimeStamp `xorm:"updated"`
|
||||
}
|
||||
|
||||
func CreateSystemSettingsTable(x *xorm.Engine) error {
|
||||
func CreateSystemSettingsTable(x db.EngineMigration) error {
|
||||
return x.Sync(new(SystemSetting))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user