mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-11-24 06:25:46 +00:00
fix: inject postgres URL while running migrations
This commit is contained in:
parent
b6445000fe
commit
c458e4a233
3
Makefile
3
Makefile
@ -74,7 +74,8 @@ lint: ## Lint codebase
|
||||
cd $(OPENAPI)&& yarn test
|
||||
|
||||
migrate: ## Run database migrations
|
||||
cd db/db-migrations/ && cargo run
|
||||
cd db/db-migrations/ && \
|
||||
DATABASE_URL=${POSTGRES_DATABASE_URL} cargo run
|
||||
|
||||
release: frontend ## Build app with release optimizations
|
||||
cargo build --release
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user