diff options
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -50,7 +50,8 @@ CREATE TABLE `object` ( 'group', 'pad', 'stage', - 'issue' + 'issue', + 'message' ) NOT NULL, PRIMARY KEY (`guid`) ); @@ -121,3 +122,14 @@ CREATE TABLE `issue` ( `desc` text DEFAULT NULL, PRIMARY KEY (`guid`) ); + +/* Message objects - special attributes */ +/* Notice: These are discussion messages, comments on issues, and also private messages sent directly to users */ +DROP TABLE IF EXISTS `message`; +CREATE TABLE `message` ( + `guid` varchar(10) NOT NULL, + `author` varchar(10) NOT NULL, + `unread` int(10) unsigned NOT NULL DEFAULT 1, + `message` text DEFAULT NULL, + PRIMARY KEY (`guid`) +); |