lab 7 done
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
Khakimov Dmitrij
2026-11-29 21:59:16 +03:00
parent 20afc2c790
commit 2a7418fc45
170 changed files with 10332 additions and 96 deletions
+12
View File
@@ -0,0 +1,12 @@
-- +goose Up
CREATE TABLE attachment_replays (
id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
job_id uuid NOT NULL REFERENCES attachment_jobs(id),
operator text NOT NULL CHECK (char_length(operator) BETWEEN 1 AND 100),
reason text NOT NULL CHECK (char_length(reason) BETWEEN 1 AND 300),
previous_error text NOT NULL,
created_at timestamptz NOT NULL DEFAULT clock_timestamp()
);
-- +goose Down
DROP TABLE attachment_replays;