Bug 18050: (follow-up) Force adding FK constraint
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 9 Oct 2020 18:14:26 +0000 (15:14 -0300)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 17 Nov 2020 04:53:26 +0000 (17:53 +1300)
commit7c8e7bd18004e17a854433a0a1fcacabaf18d248
tree842939baf1ff317cd722df0ed01dc6ea7c151594
parent6a9cc05a0a046ba7535e7258e563fb8ec16d9ee3
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>
(cherry picked from commit 5fc0d24ca8c58407e4461142054cb67a4aec5a00)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
installer/data/mysql/atomicupdate/bug_18050_aqbudget_constraint.perl