From a78b115d35d103e42f52c5e34986ad0d540cc261 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 5 May 2008 10:04:25 -0500 Subject: [PATCH] kohabug 2076 - make biblioitems.marc longblob during upgrade Change to match 3.0 definition of that column. Signed-off-by: Joshua Ferraro --- misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl b/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl index d55d48b02e..883af15f17 100755 --- a/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl +++ b/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl @@ -22,7 +22,7 @@ my $dbh = C4::Context->dbh(); # # changing marc field type -$dbh->do('ALTER TABLE `biblioitems` CHANGE `marc` `marc` BLOB NULL DEFAULT NULL '); +$dbh->do('ALTER TABLE `biblioitems` CHANGE `marc` `marc` LONGBLOB NULL DEFAULT NULL '); # adding marc xml, just for convenience $dbh->do('ALTER TABLE `biblioitems` ADD `marcxml` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL '); # moving data from marc_subfield_value to biblio -- 2.39.5