From 98c166c950eb5ed47e652f9a04ea8513b30aaf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 18 Sep 2022 16:57:40 -0700 Subject: [PATCH] Update "make run" command to execute migrations --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bbb2ea20..686a0b4f 100644 --- a/Makefile +++ b/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