Files
mtusi2026lab7/backend/db/migrations/00005_replay_audit.sql
T
rey eb1b5c7b84
Skeleton contracts / contracts (pull_request) Canceled after 0s
Prepare verified laboratory 7 implementation and evidence
2026-11-17 17:32:06 +03:00

5 lines
270 B
SQL

-- +goose Up
ALTER TABLE attachment_jobs ADD COLUMN replay_count bigint NOT NULL DEFAULT 0 CHECK(replay_count>=0), ADD COLUMN replayed_at timestamptz NOT NULL DEFAULT 'epoch';
-- +goose Down
ALTER TABLE attachment_jobs DROP COLUMN replay_count, DROP COLUMN replayed_at;