adapt Makefile to the moving of migrations dir

This commit is contained in:
2025-03-26 16:40:59 +01:00
parent 0357c4f4b2
commit 1c25f67657

View File

@@ -8,10 +8,10 @@ go-run:
cd src; go run cmd/frontend/main.go;
migrate-up:
goose -dir=./src/assets/migrations/ postgres "postgresql://$(DB_USER):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)" up
goose -dir=./src/migrations/ postgres "postgresql://$(DB_USER):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)" up
migrate-down:
goose -dir=./src/assets/migrations/ postgres "postgresql://$(DB_USER):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)" down
goose -dir=./src/migrations/ postgres "postgresql://$(DB_USER):$(DB_PASS)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)" down
docker-push: docker-build
docker push git.kohout-dev.de/crowsnest/crowsnest:latest