View | Details | Raw Unified | Return to bug 6331
Collapse All | Expand All

(-)a/installer/data/mysql/kohastructure.sql (-1 lines)
Lines 912-918 CREATE TABLE `deleteditems` ( Link Here
912
  `enumchron` text default NULL, -- serial enumeration/chronology for the item (MARC21 952$h)
912
  `enumchron` text default NULL, -- serial enumeration/chronology for the item (MARC21 952$h)
913
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
913
  `copynumber` varchar(32) default NULL, -- copy number (MARC21 952$t)
914
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
914
  `stocknumber` varchar(32) default NULL, -- inventory number (MARC21 952$i)
915
  `marc` longblob, -- unused in Koha
916
  PRIMARY KEY  (`itemnumber`),
915
  PRIMARY KEY  (`itemnumber`),
917
  KEY `delitembarcodeidx` (`barcode`),
916
  KEY `delitembarcodeidx` (`barcode`),
918
  KEY `delitemstocknumberidx` (`stocknumber`),
917
  KEY `delitemstocknumberidx` (`stocknumber`),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +6 lines)
Lines 7750-7755 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
7750
    SetVersion($DBversion);
7750
    SetVersion($DBversion);
7751
}
7751
}
7752
7752
7753
$DBversion = "3.13.00.XXX";
7754
if(CheckVersion($DBversion)) {
7755
    $dbh->do("ALTER TABLE deleteditems DROP COLUMN marc");
7756
    print "Upgrade to $DBversion done (Bug 6331: Obsolete marc column in deleteditems)\n";
7757
    SetVersion($DBversion);
7758
}
7753
7759
7754
=head1 FUNCTIONS
7760
=head1 FUNCTIONS
7755
7761
7756
- 

Return to bug 6331