fix: add info log message when starting to run migrations

This commit is contained in:
kolaente 2024-07-05 10:26:15 +02:00
parent 038e4ba386
commit 5e36bf797e
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -64,6 +64,7 @@ func initMigration(x *xorm.Engine) *xormigrate.Xormigrate {
// Migrate runs all migrations
func Migrate(x *xorm.Engine) {
log.Info("Running migrations…")
m := initMigration(x)
err := m.Migrate()
if err != nil {