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

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

Return to bug 28534