- do not make category name unique

This commit is contained in:
steinm 2011-07-27 06:24:49 +00:00
parent 30bc266f81
commit e0e7ec1fcd

View File

@ -1,8 +1,7 @@
CREATE TABLE `tblCategory` ( CREATE TABLE `tblCategory` (
`id` int(11) NOT NULL auto_increment, `id` int(11) NOT NULL auto_increment,
`name` text NOT NULL, `name` text NOT NULL,
PRIMARY KEY (`id`), PRIMARY KEY (`id`)
UNIQUE (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO tblCategory VALUES (0, ''); INSERT INTO tblCategory VALUES (0, '');
CREATE TABLE `tblDocumentCategory` ( CREATE TABLE `tblDocumentCategory` (