starts as localhost:3000/
For sqlx, you need to install sqlx-cli:
cargo install sqlx-cli
Create database:
sqlx db setup
sqlx db reset
If you're changing migrations, you need to run cargo build
afterwards in order for environments without a running database (i.e. GitHub Actions, other CI/CD) to function. This will change sqlx-data.json
and/or anything inside .sqlx
.