Skip to main content

max / makenotwork

397 B · 8 lines History Blame Raw
1 # sqlx compile-time query checking uses the committed `.sqlx/` cache, not a live
2 # database. After changing or adding any `query!`/`query_as!`/`query_scalar!` in
3 # mt-db, regenerate it with `DATABASE_URL=postgres:///multithreaded cargo sqlx prepare --workspace`
4 # and commit the result. Override locally with `SQLX_OFFLINE=false` to verify
5 # against a live DB instead.
6 [env]
7 SQLX_OFFLINE = "true"
8