fix no change
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