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

(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 4065-4071 CREATE TABLE `pending_offline_operations` ( Link Here
4065
  `cardnumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
4065
  `cardnumber` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
4066
  `amount` decimal(28,6) DEFAULT NULL,
4066
  `amount` decimal(28,6) DEFAULT NULL,
4067
  PRIMARY KEY (`operationid`)
4067
  PRIMARY KEY (`operationid`)
4068
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
4068
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
4069
/*!40101 SET character_set_client = @saved_cs_client */;
4069
/*!40101 SET character_set_client = @saved_cs_client */;
4070
4070
4071
--
4071
--
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 4731-4737 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4731
4731
4732
$DBversion = "3.07.00.018";
4732
$DBversion = "3.07.00.018";
4733
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4733
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4734
    $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;");
4734
    $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
    print "Upgrade to $DBversion done ( adding offline operations table )\n";
4735
    print "Upgrade to $DBversion done ( adding offline operations table )\n";
4736
    SetVersion($DBversion);
4736
    SetVersion($DBversion);
4737
}
4737
}
4738
- 

Return to bug 28534