Bug 6716 - Branch table documentation
Documenting the branches table in Koha. Two unused fields noted, please update if they are in fact used. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
508c46d1bc
commit
8a8654ffef
1 changed files with 18 additions and 18 deletions
|
@ -337,24 +337,24 @@ CREATE TABLE `branchcategories` (
|
|||
--
|
||||
|
||||
DROP TABLE IF EXISTS `branches`;
|
||||
CREATE TABLE `branches` (
|
||||
`branchcode` varchar(10) NOT NULL default '',
|
||||
`branchname` mediumtext NOT NULL,
|
||||
`branchaddress1` mediumtext,
|
||||
`branchaddress2` mediumtext,
|
||||
`branchaddress3` mediumtext,
|
||||
`branchzip` varchar(25) default NULL,
|
||||
`branchcity` mediumtext,
|
||||
`branchstate` mediumtext,
|
||||
`branchcountry` text,
|
||||
`branchphone` mediumtext,
|
||||
`branchfax` mediumtext,
|
||||
`branchemail` mediumtext,
|
||||
`branchurl` mediumtext,
|
||||
`issuing` tinyint(4) default NULL,
|
||||
`branchip` varchar(15) default NULL,
|
||||
`branchprinter` varchar(100) default NULL,
|
||||
`branchnotes` mediumtext,
|
||||
CREATE TABLE `branches` ( -- information about your libraries or branches are stored here
|
||||
`branchcode` varchar(10) NOT NULL default '', -- a unique key assigned to each branch
|
||||
`branchname` mediumtext NOT NULL, -- the name of your library or branch
|
||||
`branchaddress1` mediumtext, -- the first address line of for your library or branch
|
||||
`branchaddress2` mediumtext, -- the second address line of for your library or branch
|
||||
`branchaddress3` mediumtext, -- the third address line of for your library or branch
|
||||
`branchzip` varchar(25) default NULL, -- the zip or postal code for your library or branch
|
||||
`branchcity` mediumtext, -- the city or province for your library or branch
|
||||
`branchstate` mediumtext, -- the state for your library or branch
|
||||
`branchcountry` text, -- the county for your library or branch
|
||||
`branchphone` mediumtext, -- the primary phone for your library or branch
|
||||
`branchfax` mediumtext, -- the fax number for your library or branch
|
||||
`branchemail` mediumtext, -- the primary email address for your library or branch
|
||||
`branchurl` mediumtext, -- the URL for your library or branch's website
|
||||
`issuing` tinyint(4) default NULL, --unused in Koha
|
||||
`branchip` varchar(15) default NULL, -- the IP address for your library or branch
|
||||
`branchprinter` varchar(100) default NULL, -- unused in Koha
|
||||
`branchnotes` mediumtext, -- notes related to your library or branch
|
||||
UNIQUE KEY `branchcode` (`branchcode`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue