home · contact · privacy
Add previously forgotten migration script.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 6 Jun 2024 04:24:45 +0000 (06:24 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 6 Jun 2024 04:24:45 +0000 (06:24 +0200)
migrations/5_create_process_step_suppressions.sql [new file with mode: 0644]

diff --git a/migrations/5_create_process_step_suppressions.sql b/migrations/5_create_process_step_suppressions.sql
new file mode 100644 (file)
index 0000000..6ac4ea2
--- /dev/null
@@ -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)
+);
+