trails/packages/db/src
Ullrich Schäfer 5bf9358dc6 fix(db): allow 'public' credential_kind in connected_services check
The 0002 migration's allowed list predates the Komoot public-profile
connection mode (api.sync.komoot.verify.ts writes credentialKind
'public'). Against production data — which has such a connection —
the drop-then-add CHECK failed at ATRewriteTable and blocked every
cd-apps deploy since 2026-06-07 06:25 UTC.

Also documents 'public' in the schema comment with a pointer to keep
the two lists in sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 08:48:27 +02:00
..
schema fix(db): allow 'public' credential_kind in connected_services check 2026-06-07 08:48:27 +02:00
get-database-url.test.ts fix(journal): fail loud in production when secrets are unset 2026-05-24 11:37:20 +02:00
index.test.ts Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
index.ts fix: add E2E opt-out for fail-loud secret/DB-URL guards 2026-05-24 11:45:09 +02:00
migrate-data.ts fix(journal): fail loud in production when secrets are unset 2026-05-24 11:37:20 +02:00