mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
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
Block a user