Koha-clms/installer
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
..
data/mysql Bug 24289: Add foreign keys on *_holidays.branchcode tables 2020-02-13 21:01:50 +00:00
externalmodules.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
html-template-to-template-toolkit.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
install.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
onboarding.pl Bug 22489: Update onboarding tool for bug 18925 2019-03-15 11:33:09 +00:00