home · contact · privacy
Add Process.children and improve Params/Postvars parsing and testing.
[plomtask] / scripts / init.sql
index a98e8286251c17422108a556f22054fd4a26c9f4..341f2abee87b58b432e7513719a70b74209a758a 100644 (file)
@@ -2,6 +2,12 @@ CREATE TABLE days (
     date TEXT PRIMARY KEY,
     comment TEXT NOT NULL
 );
+CREATE TABLE process_children (
+    parent_id INTEGER NOT NULL,
+    child_id INTEGER NOT NULL,
+    FOREIGN KEY (parent_id) REFERENCES processes(id),
+    FOREIGN KEY (child_id) REFERENCES processes(id)
+);
 CREATE TABLE process_descriptions (
     process_id INTEGER NOT NULL,
     timestamp TEXT NOT NULL,