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

(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 4057-4063 CREATE TABLE `pending_offline_operations` ( Link Here
4057
  `cardnumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
4057
  `cardnumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
4058
  `amount` decimal(28,6) DEFAULT NULL,
4058
  `amount` decimal(28,6) DEFAULT NULL,
4059
  PRIMARY KEY (`operationid`)
4059
  PRIMARY KEY (`operationid`)
4060
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
4060
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
4061
/*!40101 SET character_set_client = @saved_cs_client */;
4061
/*!40101 SET character_set_client = @saved_cs_client */;
4062
4062
4063
--
4063
--
(-)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=MyISAM 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=INNODB 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