forked from mtusi2026/mtusi2026lab7
Выполнить лабораторную 7 по безопасности мессенджера
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
ALTER TABLE job_outbox ADD COLUMN traceparent text;
|
||||
ALTER TABLE job_outbox ADD COLUMN tracestate text;
|
||||
CREATE INDEX attachments_pending_created ON attachments(created_at)
|
||||
WHERE status IN ('queued', 'processing');
|
||||
|
||||
-- Only uploads accepted under this migration belong to the ready SLO.
|
||||
ALTER TABLE attachments ADD COLUMN slo_accepted_at timestamptz;
|
||||
ALTER TABLE attachments ADD COLUMN slo_first_ready_at timestamptz;
|
||||
CREATE INDEX attachments_slo_acceptance ON attachments(slo_accepted_at)
|
||||
INCLUDE (slo_first_ready_at) WHERE slo_accepted_at IS NOT NULL;
|
||||
Reference in New Issue
Block a user