Bug 18050: (follow-up) Force adding FK constraint
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 9 Oct 2020 18:14:26 +0000 (15:14 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:14:42 +0000 (00:14 +0100)
commit1193dddd8beb4a10a78e385b221c0f908d92dcf6
tree76be34653746e057e39b857132f7167290a80d86
parent2800b53bdd6df1e87f72673bc79ed4896f4e4e35
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>
installer/data/mysql/atomicupdate/bug_18050_aqbudget_constraint.perl