Skip to content

Commit

Permalink
chore: split sqlx justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Oct 6, 2024
1 parent c66b3ce commit 8272ce3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/server/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set dotenv-load
# https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/README.md
# The DATABASE_URL env var must be set to run those commands
# If there is a .env file located at `crates/server/.env`, it will be loaded automatically
sqlx-prepare-check:
prepare-check:
cargo sqlx prepare --check --workspace
sqlx-prepare: # To be able to build the project without database
prepare: # To be able to build the project without database
cargo sqlx prepare --workspace
sqlx-migrate:
migrate:
cargo sqlx migrate run

0 comments on commit 8272ce3

Please sign in to comment.