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

(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 990-995 CREATE TABLE `issuingrules` ( Link Here
990
  `chargename` varchar(100) default NULL,
990
  `chargename` varchar(100) default NULL,
991
  `maxissueqty` int(4) default NULL,
991
  `maxissueqty` int(4) default NULL,
992
  `issuelength` int(4) default NULL,
992
  `issuelength` int(4) default NULL,
993
  `lengthunit` varchar(10) default 'days',
993
  `hardduedate` date default NULL,
994
  `hardduedate` date default NULL,
994
  `hardduedatecompare` tinyint NOT NULL default "0",
995
  `hardduedatecompare` tinyint NOT NULL default "0",
995
  `renewalsallowed` smallint(6) NOT NULL default "0",
996
  `renewalsallowed` smallint(6) NOT NULL default "0",
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 5146-5151 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
5146
    SetVersion($DBversion);
5146
    SetVersion($DBversion);
5147
}
5147
}
5148
5148
5149
5150
5151
$DBversion = "3.07.00.XXX";
5152
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
5153
    $dbh->do("alter table issuingrules add column lengthunit varchar(10) default 'days' after issuelength");
5154
    print "Upgrade to $DBversion done (Setting up issues tables for hourly loans (repeat))\n";
5155
    SetVersion($DBversion);
5156
}
5157
5158
5149
=head1 FUNCTIONS
5159
=head1 FUNCTIONS
5150
5160
5151
=head2 DropAllForeignKeys($table)
5161
=head2 DropAllForeignKeys($table)
5152
- 

Return to bug 5549