feat: complete lab 7 for grade 4

This commit is contained in:
sashadugina06
2026-12-04 13:55:32 +03:00
parent 20afc2c790
commit 11390b65fd
91 changed files with 10163 additions and 50 deletions
+9
View File
@@ -0,0 +1,9 @@
ALTER TABLE image_jobs
ADD COLUMN trace_context JSONB,
ADD COLUMN accepted_at TIMESTAMPTZ,
ADD COLUMN first_ready_at TIMESTAMPTZ;
CREATE INDEX image_jobs_unfinished ON image_jobs(created_at)
WHERE state IN ('queued', 'processing');
CREATE INDEX image_jobs_acceptance ON image_jobs(accepted_at)
WHERE accepted_at IS NOT NULL;