adapt Makefile to the moving of migrations dir
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user