Koha/installer/data/mysql
Jonathan Druart fb0a659684 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>
2020-12-09 11:08:20 +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
fix_unclosed_nonaccruing_fines_bug17135.pl
kohastructure.sql Bug 24083: (follow-up) Respond to QA feedback 2020-11-11 16:09:58 +01:00
labels_upgrade.pl
patroncards_upgrade.pl
update22to30.pl
updatedatabase.pl Bug 24658: (bug 22008 follow-up) Correct update DB entry 18.12.00.031 2020-12-09 11:08:20 +01:00