Selaa lähdekoodia

Update "make run" command to execute migrations

Frédéric Guillot 3 vuotta sitten
vanhempi
commit
98c166c950
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -97,7 +97,7 @@ windows-x86:
 	@ GOOS=windows GOARCH=386 go build -ldflags=$(LD_FLAGS) -o $(APP)-windows-x86 main.go
 
 run:
-	@ LOG_DATE_TIME=1 go run main.go -debug
+	@ LOG_DATE_TIME=1 DEBUG=1 RUN_MIGRATIONS=1 go run main.go
 
 clean:
 	@ rm -f $(APP)-* $(APP) $(APP)*.rpm $(APP)*.deb