Bug 6716 - Definition of the branchcategories table

This patch adds field definitions to the branchcategories
table.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Nicole C. Engard 2011-08-21 08:44:29 -04:00 committed by Chris Cormack
parent 20c6bd0c4d
commit 24b3f36b5b

View file

@ -328,11 +328,11 @@ CREATE TABLE `branch_item_rules` (
--
DROP TABLE IF EXISTS `branchcategories`;
CREATE TABLE `branchcategories` ( -- information related to library/branch groups
`categorycode` varchar(10) NOT NULL default '', -- unique key, used to identify the group
`categoryname` varchar(32), -- name used to identify the group
`codedescription` mediumtext, -- description of the group
`categorytype` varchar(16), -- defines if this is a search or properties group
CREATE TABLE `branchcategories` ( -- information related to library/branch groups
`categorycode` varchar(10) NOT NULL default '', -- unique identifier for the library/branch group
`categoryname` varchar(32), -- name of the library/branch group
`codedescription` mediumtext, -- longer description of the library/branch group
`categorytype` varchar(16), -- says whether this is a search group or a properties group
PRIMARY KEY (`categorycode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;