Files
imeai-aKode/codex-rs/state/migrations/0059_thread_attachment_reverse_lookup.sql

3 lines
121 B
SQL

CREATE INDEX idx_thread_attachments_identity_thread
ON thread_attachments(attachment_type, identity_key, thread_id);