diff --git a/Makefile b/Makefile index d379326..2b042cf 100644 --- a/Makefile +++ b/Makefile @@ -7,23 +7,23 @@ POSTGRES_URL="pgx5://yggdrasil_user:yggdrasil@localhost:5432/yggdrasil?sslmode=d .PHONY: create-migration create-migration: - migrate create -ext sql -dir ./migrations -seq -digits 3 ${name} + migrate create -ext sql -dir ./db/migrations -seq -digits 3 ${name} .PHONY: local-migrate-up local-migrate-up: - migrate -database ${POSTGRES_URL} -path ./migrations up + migrate -database ${POSTGRES_URL} -path ./db/migrations up .PHONY: local-migrate-force local-migrate-force: - migrate -database ${POSTGRES_URL} -path ./migrations force + migrate -database ${POSTGRES_URL} -path ./db/migrations force .PHONY: local-migrate-down local-migrate-down: - migrate -database ${POSTGRES_URL} -path ./migrations down + migrate -database ${POSTGRES_URL} -path ./db/migrations down .PHONY: local-migrate-drop local-migrate-drop: - migrate -database ${POSTGRES_URL} -path ./migrations drop -f + migrate -database ${POSTGRES_URL} -path ./db/migrations drop -f .PHONY: local-db-seed local-db-seed: