mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-03-29 04:38:59 +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
|
cd $(OPENAPI)&& yarn test
|
||||||
|
|
||||||
migrate: ## Run database migrations
|
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
|
release: frontend ## Build app with release optimizations
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
Loading…
Add table
Reference in a new issue