From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 6 Jun 2024 04:24:45 +0000 (+0200)
Subject: Add previously forgotten migration script.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/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)
+);
+