fix no change
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 1m5s
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 1m5s
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user