Update "make run" command to execute migrations

This commit is contained in:
Frédéric Guillot 2022-09-18 16:57:40 -07:00
parent 3f64e4b943
commit 98c166c950

View file

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