Koha-clms/installer/data/mysql
Jonathan Druart 9f6e2fa552 Bug 24289: Add foreign keys on *_holidays.branchcode tables
Those are missing foreign keys, it will also clean the holidays tables
and automatically remove the holidays when a library is removed.

Test plan:
0. Do not apply this patch
1. Create a new library
2. Create special and repeatable holiday for this library
3. Remove the library
=> Notice that the holidays still exist in DB
4. Apply this patch
5. Execute the update database entry
=> Notice that the holidays for this library have been removed from the DB
6. Repeat 1-3
=> Notice that the holidays have been removed along with the library

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 8d42c6be90)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 21:01:50 +00:00
..
atomicupdate Bug 24289: Add foreign keys on *_holidays.branchcode tables 2020-02-13 21:01:50 +00:00
de-DE Bug 24206: Update URLs for default options in OPACSearchForTitleIn 2020-02-12 22:35:59 +00:00
en Bug 24328: Fix bibliographic frameworks install (linkid) 2020-01-15 23:06:00 +00:00
es-ES Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
fr-CA Bug 23790: fr-CA translation of ACCOUNT_DEBIT and ACCOUNT_CREDIT notices 2020-02-12 22:48:10 +00:00
fr-FR Bug 24328: Fix bibliographic frameworks install (linkid) 2020-01-15 23:06:00 +00:00
it-IT Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
mandatory Bug 22770: Fix typo in German language description of el 2019-06-20 14:27:57 +02:00
nb-NO Bug 24206: Update URLs for default options in OPACSearchForTitleIn 2020-02-12 22:35:59 +00:00
pl-PL Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
ru-RU Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
uk-UA Bug 24274: Remove field 01e from sql installer files 2020-01-13 23:12:20 +00:00
account_offset_types.sql Bug 22521: (QA follow-up) Corrections to tests 2019-04-17 16:49:36 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 24289: Add foreign keys on *_holidays.branchcode tables 2020-02-13 21:01:50 +00:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
sysprefs.sql Bug 24206: Update content of OpacSearchForTitleIn for existing installations 2020-02-12 22:36:23 +00:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
updatedatabase.pl Bug 24206: (follow-up) fix typos in shebang 2020-02-13 15:20:52 +00:00
userflags.sql Bug 11897: Add mising semi-colon to user*.sql 2018-10-09 17:19:00 +00:00
userpermissions.sql Bug 21411: Address QA concerns 2019-05-10 18:59:39 +00:00