# Copy to .env for local development (`.env` is git-ignored).
#
# DATABASE_URL points SQLx's compile-time query macros at a local dev database.
# You only need this when adding or changing a query/migration and regenerating
# the .sqlx/ offline cache (`cargo sqlx prepare -- --all-targets`); a plain
# build/test uses the committed .sqlx/ cache and needs no database.
#
# Setup:
# cp .env.example .env
# cargo sqlx database create
# cargo sqlx migrate run
DATABASE_URL=sqlite://dev.db