Expand description
The two database backends and their migrations.
Production uses Postgres, local development SQLite (see archive/PROJECT.md, State storage). Each
backend has its own migration files because column types differ (TIMESTAMPTZ / UUID /
JSONB in Postgres, text in SQLite); both sets always have the same versions.
Structs§
- Unsupported
Url - The URL doesn’t name a supported database.
Enums§
- Backend
- A database backend.
Functions§
- database_
place - Where
url’s database is, for a person to check: a Postgres server’shost:port(or its socket’s folder) as sqlx reads the URL (itshost=andport=parameters, thePG*variables, the defaults), a SQLite file’s path; never its user or password (the user, 2026-11-15: a role waiting for its database names where, so a typo shows). - names_
a_ password - Whether a query parameter’s name, percent-decoded and in any case, names a password.
- redact_
password urlwith its passwords replaced by***, for messages and logs: the user-info part’s (user:***@host) and a query parameter’s naming one (?password=***,sslpassword; B203: sqlx takes both).- unknown_
postgres_ parameters - The names of a Postgres URL’s query parameters sqlx would ignore (
sslmod=require, a typo), percent-decoded: for schedr to warn of them by name, since sqlx’s own warning, kept out of the log, shows their values (B203’s review).