From 0fea85a5970f0e0b0a676929cba887569d9c1be3 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Tue, 5 Mar 2013 13:53:24 +0100 Subject: [PATCH] create tasks table --- atom | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/atom b/atom index a348322..91cc43d 100755 --- a/atom +++ b/atom @@ -1023,6 +1023,17 @@ done echo 'COMMIT;' >&3 echo -e "\rRead tags from $count files." unset count tagfiles + +echo ' + CREATE TEMPORARY TABLE tasks( + id INTEGER PRIMARY KEY, + command_line TEXT, + requires INTEGER, + status INTEGER NOT NULL, + FOREIGN KEY(requires) REFERENCES tasks(id) + ON DELETE SET NULL + );' >&3 + closeDatabase # vim:set ts=8 sw=8: