2 date TEXT NOT NULL PRIMARY KEY,
5 CREATE TABLE templates (
6 id INTEGER PRIMARY KEY,
9 FOREIGN KEY (forked_from) REFERENCES templates(id)
11 CREATE TABLE versioned_default_efforts (
12 template INTEGER NOT NULL,
13 datetime TEXT NOT NULL,
14 default_effort REAL NOT NULL,
15 PRIMARY KEY (template, datetime),
16 FOREIGN KEY (template) REFERENCES templates(id)
18 CREATE TABLE versioned_descriptions (
19 template INTEGER NOT NULL,
20 datetime TEXT NOT NULL,
21 description TEXT NOT NULL,
22 PRIMARY KEY (template, datetime),
23 FOREIGN KEY (template) REFERENCES templates(id)
26 CREATE TABLE versioned_titles (
27 template INTEGER NOT NULL,
28 datetime TEXT NOT NULL,
30 PRIMARY KEY (template, datetime),
31 FOREIGN KEY (template) REFERENCES templates(id)