Bugzilla – Attachment 6597 Details for
Bug 6716
Database Documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6716 : Categories table
SIGNED-OFF-Bug-6716--Categories-table.patch (text/plain), 2.88 KB, created by
Katrin Fischer
on 2011-12-06 07:07:25 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6716 : Categories table
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-12-06 07:07:25 UTC
Size:
2.88 KB
patch
obsolete
>From 7113bbc63a6407a296e8fae3ab461093d87194b6 Mon Sep 17 00:00:00 2001 >From: "Nicole C. Engard" <nengard@bywatersolutions.com> >Date: Mon, 10 Oct 2011 06:50:23 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 6716 : Categories table > >This patch documents the patron categories table in Koha. >There are a couple fields marked unused and a couple that aren't >documented because I wasn't sure: > >* dateofbirthrequired >* bulk > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > installer/data/mysql/kohastructure.sql | 26 +++++++++++++------------- > 1 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index a75657c..88d816fe 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -417,21 +417,21 @@ CREATE TABLE `browser` ( > -- > > DROP TABLE IF EXISTS `categories`; >-CREATE TABLE `categories` ( >- `categorycode` varchar(10) NOT NULL default '', >- `description` mediumtext, >- `enrolmentperiod` smallint(6) default NULL, >- `enrolmentperioddate` DATE NULL DEFAULT NULL, >- `upperagelimit` smallint(6) default NULL, >+CREATE TABLE `categories` ( -- this table shows information related to Koha patron categories >+ `categorycode` varchar(10) NOT NULL default '', -- unique primary key used to idenfity the patron category >+ `description` mediumtext, -- description of the patron category >+ `enrolmentperiod` smallint(6) default NULL, -- number of months the patron is enrolled for (will be NULL if enrolmentperioddate is set) >+ `enrolmentperioddate` DATE NULL DEFAULT NULL, -- date the patron is enrolled until (will be NULL if enrolmentperiod is set) >+ `upperagelimit` smallint(6) default NULL, -- age limit for the patron > `dateofbirthrequired` tinyint(1) default NULL, >- `finetype` varchar(30) default NULL, >+ `finetype` varchar(30) default NULL, -- unused in Koha > `bulk` tinyint(1) default NULL, >- `enrolmentfee` decimal(28,6) default NULL, >- `overduenoticerequired` tinyint(1) default NULL, >- `issuelimit` smallint(6) default NULL, >- `reservefee` decimal(28,6) default NULL, >- `hidelostitems` tinyint(1) NOT NULL default '0', >- `category_type` varchar(1) NOT NULL default 'A', >+ `enrolmentfee` decimal(28,6) default NULL, -- enrollment fee for the patron >+ `overduenoticerequired` tinyint(1) default NULL, -- are overdue notices sent to this patron category (1 for yes, 0 for no) >+ `issuelimit` smallint(6) default NULL, -- unused in Koha >+ `reservefee` decimal(28,6) default NULL, -- cost to place holds >+ `hidelostitems` tinyint(1) NOT NULL default '0', -- are lost items shown to this category (1 for yes, 0 for no) >+ `category_type` varchar(1) NOT NULL default 'A', -- type of Koha patron (Adult, Child, Professional, Organizational, Statistical, Staff) > PRIMARY KEY (`categorycode`), > UNIQUE KEY `categorycode` (`categorycode`) > ) ENGINE=InnoDB DEFAULT CHARSET=utf8; >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6716
:
4987
|
4988
|
4989
|
4992
|
5003
|
5004
|
5005
|
5006
|
5007
|
5008
|
5009
|
5011
|
5012
|
5013
|
5014
|
5139
|
5140
|
5141
|
5142
|
5174
|
5175
|
5176
|
5177
|
5178
|
5179
|
5186
|
5187
|
5188
|
5190
|
5192
|
5193
|
5355
|
5356
|
5663
|
5664
|
5665
|
5666
|
5668
|
5669
|
5686
|
5687
|
5706
|
5829
|
6004
|
6015
|
6591
|
6592
|
6593
|
6594
|
6595
|
6596
|
6597
|
6598
|
6599
|
10788
|
10789
|
10790
|
10791
|
10792
|
10793
|
10794
|
10795
|
10822
|
10823
|
10824
|
10832
|
10833
|
10942
|
10970
|
10975
|
11011
|
11013
|
11014
|
11016
|
11018
|
11019
|
11020
|
11021
|
11022
|
11023
|
11084
|
11729
|
11823
|
11987
|
12024
|
12561
|
26777