Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 483 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 483 Bytes

ruscalimat-backend

starts as localhost:3000/

Dev

For sqlx, you need to install sqlx-cli:

cargo install sqlx-cli

Create database:

sqlx db setup

If you changed migrations, run:

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.