No description
Find a file
Erol Haagenrud 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
.claude Før vi flytter alt til agenten 2026-07-16 08:21:57 +02:00
__pycache__ Før vi flytter alt til agenten 2026-07-16 08:21:57 +02:00
app Utgangspunktet 2026-07-16 07:26:04 +02:00
.gitignore Add .gitignore to keep .env (DB secrets) out of version control 2026-07-16 07:39:08 +02:00
001_initial_schema.sql Første commit for teecup 2026-07-16 07:18:01 +02:00
002_roles_and_grants.sql Fix migration 002: psql does not interpolate :'var' inside DO $$ blocks 2026-07-16 08:24:48 +02:00
003_scoring_and_blinddraw.sql Utgangspunktet 2026-07-16 07:26:04 +02:00
ARCHITECTURE_DECISIONS.md Utgangspunktet 2026-07-16 07:26:04 +02:00
CLAUDE.md Før vi flytter alt til agenten 2026-07-16 08:21:57 +02:00
FEATURE_BACKLOG.md Utgangspunktet 2026-07-16 07:26:04 +02:00
handicap_engine.py Første commit for teecup 2026-07-16 07:18:01 +02:00
test_handicap_engine.py Første commit for teecup 2026-07-16 07:18:01 +02:00
test_isolation.sql Før vi flytter alt til agenten 2026-07-16 08:21:57 +02:00