Bug 30276: (bug 30060 follow-up) Fix 21.12.00.016
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Mar 2022 12:01:26 +0000 (14:01 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 28 Mar 2022 14:00:25 +0000 (16:00 +0200)
commit563836cce11f616b3053ca75bf7820b166a6be45
tree857437f1a9620f2541742c6ccf36c1b9c5f1eb0d
parentbc1c8b43384e457b3bee05a7414cc27425e43c09
Bug 30276: (bug 30060 follow-up) Fix 21.12.00.016

ERROR 1832 (HY000): Cannot change column 'code': used in a foreign key constraint 'user_permissions_ibfk_2'

Test plan:
Checkout a commit prior to 30060 (c023f63abcce53d71c9492aea4bc7aa30fdc5d73)
reset_all
checkout master+this patch
updatedatabase

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/db_revs/211200016.pl