Bug 13766: Change *bibioitems.ean to mediumtext and add indexes
commitc367705d9d154b195b29bf7c229046928a5f4718
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 17 Aug 2017 11:54:36 +0000 (17 13:54 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Oct 2017 19:02:54 +0000 (9 16:02 -0300)
treed19b2f592ee355219d9887c0822d9159f156aab6
parent347ade5c1089813ccecbbd1bb0c91e828a914265
Bug 13766: Change *bibioitems.ean to mediumtext and add indexes

- biblioitems.ean and deleteditems.ean are changed
  to mediumtext to match issn and isbn.
- An index is added for ean on both tables.

Patch cleans up inconsistencies caused by bug 5337 that
causes some older databases to have an existing index
on biblioitems.ean.

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_13766_fix_ean.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql