Bug 21674: Remove duplicates from library_groups before adding the uniq constraint
commit3134736a841175755b9b30cbda16ee552798a82d
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Jan 2020 14:01:51 +0000 (21 15:01 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 Jan 2020 15:36:25 +0000 (30 15:36 +0000)
treeb465f237c8f6df55b0c5f8d0e7bf429322126599
parent812a863d86686350243725f5bbfd2718022eee2d
Bug 21674: Remove duplicates from library_groups before adding the uniq constraint

To avoid to make it fails if duplicates existed prior to this change

Credit for the SQL query goes to Nick, thanks!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug_21674.perl