create tasks table
This commit is contained in:
parent
56aa66ba25
commit
0fea85a597
11
atom
11
atom
@ -1023,6 +1023,17 @@ done
|
|||||||
echo 'COMMIT;' >&3
|
echo 'COMMIT;' >&3
|
||||||
echo -e "\rRead tags from $count files."
|
echo -e "\rRead tags from $count files."
|
||||||
unset count tagfiles
|
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
|
closeDatabase
|
||||||
|
|
||||||
# vim:set ts=8 sw=8:
|
# vim:set ts=8 sw=8:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user