Лаба 4: вложения в S3, уровни 3-5, reconciler (трек 2)

This commit is contained in:
2026-11-14 09:19:07 +03:00
parent ec540a1a72
commit 0dc99c9e33
63 changed files with 4810 additions and 18 deletions
+6
View File
@@ -0,0 +1,6 @@
ALTER TABLE attachments
ADD COLUMN IF NOT EXISTS storage_state text NOT NULL DEFAULT 'ok',
ADD COLUMN IF NOT EXISTS storage_checked_at timestamptz;
ALTER TABLE attachments DROP CONSTRAINT IF EXISTS attachments_storage_state;
ALTER TABLE attachments ADD CONSTRAINT attachments_storage_state CHECK (storage_state IN ('ok', 'missing'));