Bug 18050: (follow-up) Force adding FK constraint
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 9 Oct 2020 18:14:26 +0000 (15:14 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 13 Nov 2020 21:16:12 +0000 (21:16 +0000)
commit5fc0d24ca8c58407e4461142054cb67a4aec5a00
treec264e11f11ef271532ce8766238177c9c3461a97
parent9999d88169db3bd51d30b489d762a615c1872f7f
Bug 18050: (follow-up) Force adding FK constraint

When there are inconsistent budget_period_id in aqbudgets this patch
creates the table _bug_18050_aqbudgets with the original data, then sets
the column to null and warns the user that there is inconsistent data.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1193dddd8beb4a10a78e385b221c0f908d92dcf6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_18050_aqbudget_constraint.perl