fix double revise letter

This commit is contained in:
efrilm
2025-10-18 18:54:46 +07:00
parent 99cb544a0f
commit c07d3dfefb
3 changed files with 46 additions and 22 deletions
@@ -44,7 +44,7 @@ CREATE TABLE IF NOT EXISTS letter_incoming_recipients (
read_at TIMESTAMP WITHOUT TIME ZONE,
completed_at TIMESTAMP WITHOUT TIME ZONE,
created_at TIMESTAMP WITHOUT TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
);I
CREATE INDEX IF NOT EXISTS idx_letter_incoming_recipients_letter ON letter_incoming_recipients(letter_id);