do nothing on fresh db

This commit is contained in:
qwerty287 2024-07-20 12:25:26 +02:00
parent be176edf79
commit 17e9d32405
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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()
} }