fix no change

This commit is contained in:
2024-07-29 22:39:51 +02:00
parent f3895f5f22
commit c000a75899

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