./todos is taken and modified from official example
- Declare the database URL
export DATABASE_URL="sqlite:${PWD}/todos.db"- Create the database.
sqlx db create- Run sql migrations
pushd todos && sqlx migrate run && popd- Build
cargo build./todos is taken and modified from official example
export DATABASE_URL="sqlite:${PWD}/todos.db"sqlx db createpushd todos && sqlx migrate run && popdcargo build