seeddms-code/UPDATE-v3.1.0/update.sql

11 lines
353 B
MySQL
Raw Normal View History

2011-03-10 14:53:26 +00:00
CREATE TABLE `tblCategory` (
`id` int(11) NOT NULL auto_increment,
`name` text NOT NULL,
2011-07-27 06:24:49 +00:00
PRIMARY KEY (`id`)
2011-03-10 14:53:26 +00:00
) 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;