mirror of https://github.com/go-gitea/gitea.git
do nothing on fresh db
This commit is contained in:
parent
be176edf79
commit
17e9d32405
|
@ -607,6 +607,7 @@ func Migrate(x *xorm.Engine) error {
|
||||||
|
|
||||||
// Migrate
|
// Migrate
|
||||||
m := xormigrate.New(x, migrations)
|
m := xormigrate.New(x, migrations)
|
||||||
|
m.InitSchema(noopMigration)
|
||||||
|
|
||||||
return m.Migrate()
|
return m.Migrate()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue