Bug 5377: (follow-up) there is no index on deletedbiblioitems.issn

This patch removes a trailing space and remove the issn index deletion
(it does not exist on deletedbiblioitems).

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2014-02-20 12:40:35 +01:00 committed by Galen Charlton
parent 4e936f9c42
commit 9ee4f41555

View file

@ -8427,12 +8427,11 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
");
$dbh->do("ALTER TABLE deletedbiblioitems DROP INDEX isbn");
$dbh->do("ALTER TABLE deletedbiblioitems DROP INDEX issn");
$dbh->do("ALTER TABLE deletedbiblioitems
CHANGE isbn isbn MEDIUMTEXT NULL DEFAULT NULL,
CHANGE issn issn MEDIUMTEXT NULL DEFAULT NULL
");
$dbh->do("ALTER TABLE deletedbiblioitems
$dbh->do("ALTER TABLE deletedbiblioitems
ADD INDEX isbn ( isbn ( 255 ) )
");