yasuki_core.accounts.db.accounts_connection_string#
- accounts_connection_string()[source]#
DSN for the accounts database — a separate Postgres from the card DB.
Read
YASUKI_ACCOUNTS_DATABASE_URL; fall back to a localyasuki_accountsdatabase so development needs only a second database on the same server, not a second server. Apply the same TLS treatment as the card pool (verify-full / require on public hosts).- Returns:
- dsn
str The accounts-database connection string.
- dsn