Commit graph

305 commits

Author SHA1 Message Date
576ae64fa3 Fix migration 002: psql does not interpolate :'var' inside DO $$ blocks
CREATE ROLE ... PASSWORD :'teecup_app_password' silently failed with
"syntax error at or near ':'" because the whole DO $$ ... $$ body is a
dollar-quoted string and psql skips variable substitution inside it.
Replaced the idempotency check with \gset + \if/\else so the PASSWORD
line is plain top-level SQL, where interpolation does work. Verified
against a scratch database (see test_isolation.sql run).
2026-07-16 08:24:48 +02:00
4f90fb05dc Før vi flytter alt til agenten 2026-07-16 08:21:57 +02:00
c0fde0fc16 Add .gitignore to keep .env (DB secrets) out of version control 2026-07-16 07:39:08 +02:00
1b5362201e Utgangspunktet 2026-07-16 07:26:04 +02:00
5873db18d1 Første commit for teecup 2026-07-16 07:18:01 +02:00