Koha-clms/installer/data/mysql
Galen Charlton 329678f39b bug 3222: database changes for messaging preferences (DB rev 033)
This patch modifies the database for the messaging
preferences enhancement <http://wiki.koha.org/doku.php?id=en:development:rfcs3.2:rfc32_defaultmessagingsettings>
as follows:

* adds a categorycode column to borrower_message_preferences

This allows a set of messaging preferences to be linked
to a patron category

* allow the borrowernumber column to be null

This allows a messaging preference set to be linked
*only* to a patron category.  If MySQL had check
constraints, I would add one so that exactly
one of borrowernumber and categorycode in a row in
borrower_message_preferences could be NULL.

* add a FK constraint from borrower_message_preferences.categorycode
to categories; if you delete a patron category, any default preferences
associated with it will be automatically deleted.

The messaging preference enhancement was sponsored by the Northeast
Kansas Library System (NEKLS).

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-22 13:20:45 -05:00
..
en bug 2897: fix English sample notices 2009-05-21 15:09:52 -05:00
fr-FR Bug 2897 - sample notices include bogus values 2009-05-21 15:09:41 -05:00
ru-RU fixed permissions on ru-RU and uk-UA installer SQL files 2009-05-21 06:52:59 -05:00
uk-UA more permissions fixes on uk-UA installer SQL files 2009-05-21 07:47:31 -05:00
backfill_statistics.pl Script to correct faulty statistics table entries. 2008-06-26 05:51:26 -05:00
kohastructure.sql bug 3222: database changes for messaging preferences (DB rev 033) 2009-05-22 13:20:45 -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 Partial fix for 2084: opac-topissues.pl is both EXPERIMENTAL and 2008-07-12 09:52:17 -05:00
updatedatabase.pl bug 3222: database changes for messaging preferences (DB rev 033) 2009-05-22 13:20:45 -05:00