Koha-clms/installer/data/mysql
Jonathan Druart 35740d271f Bug 24658: (bug 22008 follow-up) Correct update DB entry 18.12.00.031
If the original constraint does not exist, the second one is not added.

Test plan:
1. checkout dbrev 18.12.00.030
2. Remove the constraint: ALTER TABLE accountlines DROP FOREIGN KEY accountlines_ibfk_2
3. checkout master
4.
% updatedatabase
=> The constraint accountlines_ibfk_items is not added
5. Repeat 1 to 4
=> The constraint is added correctly

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit fb0a659684)
2020-12-10 11:11:23 +01:00
..
atomicupdate Bug 24083: DBRev 20.06.00.069 2020-11-11 16:09:58 +01:00
en Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
fr-CA Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
fr-FR Bug 27103: Remove from fr-FR 2020-11-27 13:00:38 +01:00
it-IT Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
localization Bug 20168: Remove li tags from OPACSearchForTitleIn for new installs 2020-09-09 14:33:45 +02:00
mandatory Bug 24083: (follow-up) Respond to QA feedback 2020-11-11 16:09:58 +01:00
nb-NO Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
pl-PL Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
ru-RU Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01:00
uk-UA Bug 27103: Remove HOLD_CANCELLATION notice 2020-11-27 13:00:38 +01: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 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
kohastructure.sql Bug 24083: (follow-up) Respond to QA feedback 2020-11-11 16:09:58 +01:00
labels_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
patroncards_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
update22to30.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
updatedatabase.pl Bug 24658: (bug 22008 follow-up) Correct update DB entry 18.12.00.031 2020-12-10 11:11:23 +01:00