Bug 32030: Create erm_user_roles after erm_licenses
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Nov 2022 07:33:38 +0000 (08:33 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 12:44:53 +0000 (09:44 -0300)
commit0204f2051872f82fdb8b701808c377d659b2676e
tree079eda37d87641d391305e15a100788f9ea91364
parent8456a892fc5e1b167512f60eca06ff18bc2654d2
Bug 32030: Create erm_user_roles after erm_licenses

Or the update will fail with the following error

ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Can't create table `koha_kohadev`.`erm_user_roles` (errno: 150 "Foreign key constraint is incorrectly formed") at /kohadevbox/koha/C4/Installer.pm line 739

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/erm.pl