recipes2/Makefile

9 lines
356 B
Makefile

run:
go run ./cmd/recipes/main.go -config ./config/local.yaml
migrate_create:
migrate create -ext sql -dir ./migrations -seq ${NAME}
migrate_up:
CONFIG_PATH=./config/local.yaml go run ./cmd/migrator/main.go --migrations-path ./migrations
migrate_down:
CONFIG_PATH=./config/local.yaml go run ./cmd/migrator/main.go --migrations-path ./migrations --down