Koha/installer/data/mysql
Galen Charlton b35ebc644e bug 2000 - added several circ rules tables (DB rev 090)
The first new table is branch_borrower_circ_rules.

This table is used to store circulation rule attributes
that apply to a combination of patron category and branch
across all item types.  The one attribute defined is
maxissueqty, which sets the maximum number of loans
that a patron of a given category can take out at a given
branch.

Note that branch_borrower_circ_rules is for attributes
that apply across all item types.  This means that
issuingrules.maxissueqty has a different meaning: it is
the maximum number of loans per branch, category, and item type;
if issuingrules.itemtype is '*', that is a *default*
circulation rule used if no more specific rule is found.

The new table will allow the implementation of total
loan limit across item types without making the wildcard
'*' in issuingrules ambiguous.  Specifically, if branchcode,
categorycode, or itemtype is issuingrules is '*', that will now
always mean a loan rule to be applied if a more specific rule cannot be found.
Setting issuingrules.itemtype to '*' will no longer mean
to set a total limit across item types for maxissueqty.

The remaining new tables are used to store default
rules for the default branch, the default patron category,
or both:

default_branch_circ_rules - for a given branch, specify
the rule to apply if no more specific rule on
branch and patron category is found (i.e. patron category is default)

default_borrower_circ_rules - for a given patron category,
specify the rule to apply if no more specific rule
on branch patron category is found (i.e., branch is default)

default_circ_rules - global default if no more specify rule
on patron category and branch is available.  Note that this
table is constructed so that it can have at most
one row.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-20 08:18:59 -05:00
..
en Remove 95c and 95r subfields from default MARC21 framework -- These have no tag definitions. 2008-06-19 08:32:09 -05:00
fr-FR minor fixes in marc frameworks 2008-06-20 06:12:48 -05:00
kohastructure.sql bug 2000 - added several circ rules tables (DB rev 090) 2008-06-20 08:18:59 -05:00
sample_only_param_tables.sql Moved location of updater scripts to dbms specific dir. 2007-11-13 11:22:47 -06:00
update22to30.pl kohabug 2076: updated 2.2 -> 3.0 upgrade 2008-05-11 05:40:46 -05:00
updatedatabase.pl bug 2000 - added several circ rules tables (DB rev 090) 2008-06-20 08:18:59 -05:00