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

(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 905-911 CREATE TABLE `deleteditems` ( Link Here
905
  `cn_source` varchar(10) default NULL, -- classification source used on this item (MARC21 952$2)
905
  `cn_source` varchar(10) default NULL, -- classification source used on this item (MARC21 952$2)
906
  `cn_sort` varchar(30) default NULL, -- normalized form of the call number (MARC21 952$o) used for sorting
906
  `cn_sort` varchar(30) default NULL, -- normalized form of the call number (MARC21 952$o) used for sorting
907
  `ccode` varchar(10) default NULL, -- authorized value for the collection code associated with this item (MARC21 952$8)
907
  `ccode` varchar(10) default NULL, -- authorized value for the collection code associated with this item (MARC21 952$8)
908
  `materials` varchar(10) default NULL, -- materials specified (MARC21 952$3)
908
  `materials` text default NULL, -- materials specified (MARC21 952$3)
909
  `uri` varchar(255) default NULL, -- URL for the item (MARC21 952$u)
909
  `uri` varchar(255) default NULL, -- URL for the item (MARC21 952$u)
910
  `itype` varchar(10) default NULL, -- foreign key from the itemtypes table defining the type for this item (MARC21 952$y)
910
  `itype` varchar(10) default NULL, -- foreign key from the itemtypes table defining the type for this item (MARC21 952$y)
911
  `more_subfields_xml` longtext default NULL, -- additional 952 subfields in XML format
911
  `more_subfields_xml` longtext default NULL, -- additional 952 subfields in XML format
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +8 lines)
Lines 7771-7776 if ( CheckVersion($DBversion) ) { Link Here
7771
    SetVersion($DBversion);
7771
    SetVersion($DBversion);
7772
}
7772
}
7773
7773
7774
7775
$DBversion = "3.15.00.XXX";
7776
if(CheckVersion($DBversion)) {
7777
    $dbh->do("ALTER TABLE deleteditems MODIFY materials text;");
7778
    print "Upgrade to $DBversion done (Bug 11275: alter deleteditems.materials from varchar(10) to text)\n";
7779
    SetVersion($DBversion);
7780
}
7781
7774
=head1 FUNCTIONS
7782
=head1 FUNCTIONS
7775
7783
7776
=head2 TableExists($table)
7784
=head2 TableExists($table)
7777
- 

Return to bug 11275