fix no change
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 1m5s

This commit is contained in:
Tim
2024-07-29 22:39:51 +02:00
parent 05b32928ac
commit 769aa89058

View File

@@ -38,6 +38,8 @@ func runMigrations(db *sql.DB) {
err = m.Up()
if err != nil {
log.Fatal("Could not run migrations: ", err)
if err.Error() != "no change" {
log.Fatal("Could not run migrations: ", err)
}
}
}