Files
coder/coderd/database
Sas Swart 23f7a4b3b2 fix(coderd/database): drop FK on boundary_logs.session_id
Remove the foreign key constraint from boundary_logs.session_id to
boundary_sessions.id. This allows logs to be inserted even when the
session row does not yet exist (e.g. transient DB error on first
batch). The session is created lazily on each batch, so a subsequent
successful batch will create the session row, retroactively linking
the earlier orphaned logs.
2026-06-02 09:07:27 +00:00
..