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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 4732-4738 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4732
4732
4733
$DBversion = "3.07.00.018";
4733
$DBversion = "3.07.00.018";
4734
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4734
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4735
    $dbh->do("CREATE TABLE pending_offline_operations ( operationid int(11) NOT NULL AUTO_INCREMENT, userid varchar(30) NOT NULL, branchcode varchar(10) NOT NULL, timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, action varchar(10) NOT NULL, barcode varchar(20) NOT NULL, cardnumber varchar(16) DEFAULT NULL, PRIMARY KEY (operationid) ) ENGINE=INNODB DEFAULT CHARSET=utf8;");
4735
    $dbh->do("CREATE TABLE pending_offline_operations ( operationid int(11) NOT NULL AUTO_INCREMENT, userid varchar(30) NOT NULL, branchcode varchar(10) NOT NULL, timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, action varchar(10) NOT NULL, barcode varchar(20) NOT NULL, cardnumber varchar(16) DEFAULT NULL, PRIMARY KEY (operationid) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;");
4736
    print "Upgrade to $DBversion done ( adding offline operations table )\n";
4736
    print "Upgrade to $DBversion done ( adding offline operations table )\n";
4737
    SetVersion($DBversion);
4737
    SetVersion($DBversion);
4738
}
4738
}
4739
- 

Return to bug 28534