ЛР 5: асинхронная обработка изображений, уровень 5

This commit is contained in:
Nurlygayanova Ekaterina
2026-11-12 20:32:55 +03:00
parent 276dbdad8a
commit 7b3eab5473
115 changed files with 8847 additions and 34 deletions
+6
View File
@@ -0,0 +1,6 @@
-- +goose Up
ALTER TABLE attachments ADD COLUMN processing_started_at timestamptz;
CREATE INDEX attachments_unfinished ON attachments(status) WHERE status IN ('queued','processing');
-- +goose Down
DROP INDEX attachments_unfinished;
ALTER TABLE attachments DROP COLUMN processing_started_at;