tasks/database.sql
Emmanuel BENOîT d28f5741fe Initial sub-tasks support
In addition to normal dependencies, the application now supports
sub-tasks. Sub-tasks can be added into any existing task (including
other sub-tasks, Inception-style).

Dependencies can only be added between global tasks, or between
sub-tasks of the same task. It is no longer possible to mark a task as
finished if it has incomplete sub-tasks, and conversedly, it is not
possible to reactivate a sub-task if its parent is marked as completed.

A pair of buttons allowing tasks to be moved up and down in the task
hierarachy have been added.
2012-02-10 09:20:35 +01:00

23 lines
494 B
PL/PgSQL

\i database/config.sql
\c :db_name
BEGIN;
-- Tables from the main database structure
\i database/create-tables.sql
-- User functions
\i database/users-functions.sql
-- Items tree management and associated functions
\i database/items-tree-triggers.sql
\i database/items-functions.sql
-- Task management and task dependencies
\i database/task-containers.sql
\i database/tasks-functions.sql
\i database/task-dependencies.sql
\i database/tasks-move-sub.sql
\i database/tasks-view.sql
COMMIT;