trails/packages/db/src/schema
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
..
journal.ts fix(db): allow 'public' credential_kind in connected_services check 2026-06-07 08:48:27 +02:00
planner.ts fix(planner): add index on sessions.last_activity for the expire job 2026-05-25 23:59:10 +02:00