common/Makefile

7 lines
175 B
Makefile

export DATABASE_URL=sqlite://${PWD}/emgauwa-dev.sqlite
sqlx:
cargo sqlx database drop -y
cargo sqlx database create
cargo sqlx migrate run
cargo sqlx prepare --workspace