2012-02-05 18:37:25 +01:00
|
|
|
\i database/config.sql
|
|
|
|
\c :db_name
|
|
|
|
|
|
|
|
BEGIN;
|
|
|
|
|
|
|
|
-- Tables from the main database structure
|
|
|
|
\i database/create-tables.sql
|
|
|
|
|
2012-02-06 00:09:21 +01:00
|
|
|
-- User functions
|
|
|
|
\i database/users-functions.sql
|
|
|
|
|
2012-02-05 18:37:25 +01:00
|
|
|
-- Items tree management and associated functions
|
|
|
|
\i database/items-tree-triggers.sql
|
|
|
|
\i database/items-functions.sql
|
|
|
|
|
|
|
|
-- Task management and task dependencies
|
|
|
|
\i database/tasks-functions.sql
|
|
|
|
\i database/task-dependencies.sql
|
2012-02-06 15:05:15 +01:00
|
|
|
\i database/tasks-view.sql
|
2012-02-05 18:37:25 +01:00
|
|
|
|
|
|
|
COMMIT;
|