Compare commits

...
1 Commits
Author SHA1 Message Date
Dustin Pianalto 266cde6468 fix bug in running migrations
CI / build (push) Has been cancelled
2021-01-23 04:27:34 -09:00
+5 -1
View File
@@ -49,7 +49,11 @@ func ConnectDatabase(dbConnString string) {
}
err = m.Up()
if err != nil {
log.Fatal(err)
if err.Error() == "no change" {
log.Println(err)
} else {
log.Fatal(err)
}
}
log.Println("Migrations Run")
initServices()