Files
mtusi2026lab5/migrations/006_experiment_faults.sql
T

10 lines
306 B
SQL

CREATE TABLE experiment_faults (
job_id uuid NOT NULL REFERENCES attachment_jobs(id),
point text NOT NULL,
action text NOT NULL CHECK (action IN ('crash', 'pause')),
hit_at timestamptz,
process_id integer,
released boolean NOT NULL DEFAULT false,
PRIMARY KEY (job_id, point)
);