mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 03:48:52 +03:00
fix: inject postgres URL while running migrations
This commit is contained in:
parent
b6445000fe
commit
c458e4a233
1 changed files with 2 additions and 1 deletions
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…
Reference in a new issue