This commit is contained in:
2026-11-19 19:45:26 +03:00
parent 276dbdad8a
commit ffa3d99557
34 changed files with 3277 additions and 41 deletions
+8
View File
@@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS attachment_replay_audit (
id BIGSERIAL PRIMARY KEY,
attachment_id UUID NOT NULL REFERENCES attachments (id) ON DELETE CASCADE,
old_pipeline_version INTEGER NOT NULL,
new_pipeline_version INTEGER NOT NULL,
reason TEXT NOT NULL,
created_at TIMESTAMPTZ NOT NULL
);