From: Christian Heller Date: Thu, 6 Jun 2024 04:24:45 +0000 (+0200) Subject: Add previously forgotten migration script. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/tasks?a=commitdiff_plain;h=8794d9441a50fc76d7746e6a034aff40705894f9;p=plomtask Add previously forgotten migration script. --- diff --git a/migrations/5_create_process_step_suppressions.sql b/migrations/5_create_process_step_suppressions.sql new file mode 100644 index 0000000..6ac4ea2 --- /dev/null +++ b/migrations/5_create_process_step_suppressions.sql @@ -0,0 +1,8 @@ +CREATE TABLE process_step_suppressions ( + process INTEGER NOT NULL, + process_step INTEGER NOT NULL, + PRIMARY KEY (process, process_step), + FOREIGN KEY (process) REFERENCES processes(id), + FOREIGN KEY (process_step) REFERENCES process_steps(id) +); +