NAME
Bif::SQLite::table::projects - project current meta data
VERSION
0.1.0 (yyyy-mm-dd)
DEFINITION
#!sqlite
CREATE TABLE projects (
id integer NOT NULL PRIMARY KEY,
parent_id integer,
name varchar(40) NOT NULL,
title varchar(1024) NOT NULL,
path varchar collate nocase UNIQUE,
status_id integer NOT NULL DEFAULT -1,
FOREIGN KEY(id) REFERENCES topics(id)
ON DELETE CASCADE
FOREIGN KEY(parent_id) REFERENCES projects(id)
ON DELETE CASCADE,
FOREIGN KEY(status_id,id) REFERENCES project_status(id,project_id)
DEFERRABLE INITIALLY DEFERRED
)
DESCRIPTION
Table projects
contains the project-specific meta data for a topic. Rows should only be inserted into this table by func_new_project() and only updated by triggers on the project_mergers table. Deleting directly from this table is fine.
AFFECTED TABLES
-
Modified on INSERT, UPDATE, and DELETE.
-
Cascading DELETEs.
-
Cascading DELETEs.
SEE ALSO
Bif::SQLite::func_new_project, Bif::SQLite::table::topics, Bif::SQLite::table::project_mergers, Bif::SQLite::table::project_status, Bif::SQLite::table::projects_tree, Bif::SQLite::table::updates
AUTHOR
Mark Lawrence <nomad@null.net>
COPYRIGHT AND LICENSE
Copyright 2013 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.