fix(infra): lab5 fix docker entrypoints, migration index and worker deps

This commit is contained in:
Голиков Maximillian Антон
2026-11-08 22:12:14 +03:00
parent 4c979dcc71
commit af9e94080e
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -13,6 +13,7 @@ ALTER TABLE attachments ADD CONSTRAINT attachments_error_code_consistency
);
DROP INDEX IF EXISTS attachments_pending_idx;
DROP INDEX IF EXISTS attachments_active_idx;
CREATE INDEX attachments_active_idx
ON attachments (created_at)
WHERE status IN ('queued', 'processing');