ai_code_commit_file_sessions

Join table linking each commit file to the AI sessions that contributed to it. Keyed by session external_id (UUID from daemon) so rows can exist before the corresponding ai_sessions row is upserted.

id

Primary key
Unique identifier for the row.

ai_code_commit_file_id

Foreign key
ID of the associated AI code commit file.

session_external_id

Foreign key
External (daemon-provided) UUID of the AI session that contributed to this file. Matches ai_sessions.external_id when the session has been upserted.

row_created_at

date
Timestamp when the record was created.

row_updated_at

date
Timestamp when the record was last updated.