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 / +7 lines)
Lines 7768-7773 if ( CheckVersion($DBversion) ) { Link Here
7768
    $dbh->do("UPDATE systempreferences SET value='qslip' where variable = 'CircAutoPrintQuickSlip' and value = '1'");
7768
    $dbh->do("UPDATE systempreferences SET value='qslip' where variable = 'CircAutoPrintQuickSlip' and value = '1'");
7769
    $dbh->do("UPDATE systempreferences SET explanation = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.', type = 'Choice' where variable = 'CircAutoPrintQuickSlip'");
7769
    $dbh->do("UPDATE systempreferences SET explanation = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.', type = 'Choice' where variable = 'CircAutoPrintQuickSlip'");
7770
    print "Upgrade to $DBversion done (Bug 11040: Add option to print full slip when checking out a null barcode)\n";
7770
    print "Upgrade to $DBversion done (Bug 11040: Add option to print full slip when checking out a null barcode)\n";
7771
}
7772
7773
7774
$DBversion = "3.15.00.XXX";
7775
if(CheckVersion($DBversion)) {
7776
    $dbh->do("ALTER TABLE deleteditems MODIFY materials text;");
7777
    print "Upgrade to $DBversion done (Bug 11275: alter deleteditems.materials from varchar(10) to text)\n";
7771
    SetVersion($DBversion);
7778
    SetVersion($DBversion);
7772
}
7779
}
7773
7780
7774
- 

Return to bug 11275