seeddms-code/UPDATE-v3.1.0/update.sql
2011-07-21 06:57:44 +00:00

12 lines
371 B
SQL

CREATE TABLE `tblCategory` (
`id` int(11) NOT NULL auto_increment,
`name` text NOT NULL,
PRIMARY KEY (`id`),
UNIQUE (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO tblCategory VALUES (0, '');
CREATE TABLE `tblDocumentCategory` (
`categoryID` int(11) NOT NULL default 0,
`documentID` int(11) NOT NULL default 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8;