Files
modrinth/apps/labrinth/migrations/20260803120000_delphi_detail_verdict_timestamps.sql
T
aecsocket 6715a9c679 fix: global traces QA notes (#6977)
* updated at cols + search by path

* speed up scanning

* migration does not auto-set updated_at

* merge migrations
2026-08-03 18:15:13 +00:00

12 lines
360 B
SQL

ALTER TABLE delphi_issue_detail_verdicts
ADD COLUMN updated_at TIMESTAMPTZ;
ALTER TABLE delphi_global_detail_verdicts
ADD COLUMN updated_at TIMESTAMPTZ;
CREATE INDEX delphi_report_issue_details_issue_id
ON delphi_report_issue_details (issue_id);
CREATE INDEX threads_messages_thread_id_created_id
ON threads_messages (thread_id, created DESC, id DESC);