Update "make run" command to execute migrations
This commit is contained in:
parent
3f64e4b943
commit
98c166c950
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue