Skip to content

Commit

Permalink
Fix #17
Browse files Browse the repository at this point in the history
Add compatibility for mysql 5.7
  • Loading branch information
gillesdubois authored Jan 9, 2017
1 parent 30fc100 commit 4cae1a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sql/officepack-guid-fr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
$object -> sql_query("DROP TABLE IF EXISTS `officepack_sku`;
CREATE TABLE IF NOT EXISTS `officepack_sku` (
`VERSION` varchar(255) DEFAULT NULL,
`REF_ID` varchar(255) DEFAULT NULL,
`VERSION` varchar(255) NOT NULL,
`REF_ID` varchar(255) NOT NULL,
`PRODUCT` varchar(255) DEFAULT NULL,
PRIMARY KEY (`VERSION`,`REF_ID`)
) ENGINE=INNODB;");
Expand Down Expand Up @@ -214,7 +214,7 @@

$object -> sql_query("DROP TABLE IF EXISTS `officepack_lang`;
CREATE TABLE IF NOT EXISTS `officepack_lang` (
`LCID` varchar(255) DEFAULT NULL,
`LCID` varchar(255) NOT NULL,
`LANG` varchar(255) DEFAULT NULL,
PRIMARY KEY (`LCID`)
) ENGINE=INNODB;");
Expand Down Expand Up @@ -259,7 +259,7 @@

$object -> sql_query("DROP TABLE IF EXISTS `officepack_type`;
CREATE TABLE IF NOT EXISTS `officepack_type` (
`REF_ID` varchar(255) DEFAULT NULL,
`REF_ID` varchar(255) NOT NULL,
`TYPE_VERSION` varchar(255) DEFAULT NULL,
PRIMARY KEY (`REF_ID`)
) ENGINE=INNODB;");
Expand All @@ -271,7 +271,7 @@

$object -> sql_query("DROP TABLE IF EXISTS `officepack_version`;
CREATE TABLE IF NOT EXISTS `officepack_version` (
`REF_ID` varchar(255) DEFAULT NULL,
`REF_ID` varchar(255) NOT NULL,
`VERSION` varchar(255) DEFAULT NULL,
PRIMARY KEY (`REF_ID`)
) ENGINE=INNODB;");
Expand All @@ -285,4 +285,4 @@
INSERT INTO `officepack_version` VALUES ('A','Service Pack 1');
INSERT INTO `officepack_version` VALUES ('B','Service Pack 2');
INSERT INTO `officepack_version` VALUES ('C','Service Pack 3');");
?>
?>

0 comments on commit 4cae1a9

Please sign in to comment.