From 2d4f355792284fd26d4013e8c7685ad2081d2303 Mon Sep 17 00:00:00 2001 From: phf Date: Thu, 21 Jan 2016 21:57:09 +0100 Subject: [PATCH] FIX back quote into migration sql file --- .../install/mysql/migration/3.9.0-4.0.0.sql | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index 7e9260c595e..23da9daacb9 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -38,26 +38,26 @@ ALTER TABLE llx_cronjob MODIFY COLUMN unitfrequency varchar(255) NOT NULL DEFAUL ALTER TABLE llx_facture ADD INDEX idx_facture_fk_statut (fk_statut); -CREATE TABLE IF NOT EXISTS `llx_multicurrency` +CREATE TABLE IF NOT EXISTS llx_multicurrency ( - `rowid` integer AUTO_INCREMENT PRIMARY KEY, - `date_create` datetime DEFAULT NULL, - `code` varchar(255) DEFAULT NULL, - `name` varchar(255) DEFAULT NULL, - `entity` integer DEFAULT NULL, - `fk_user` integer DEFAULT NULL, - KEY `code` (`code`) + rowid integer AUTO_INCREMENT PRIMARY KEY, + date_create datetime DEFAULT NULL, + code varchar(255) DEFAULT NULL, + name varchar(255) DEFAULT NULL, + entity integer DEFAULT NULL, + fk_user integer DEFAULT NULL, + KEY code (code) ) ENGINE=innodb; -CREATE TABLE IF NOT EXISTS `llx_multicurrency_rate` +CREATE TABLE IF NOT EXISTS llx_multicurrency_rate ( - `rowid` integer AUTO_INCREMENT PRIMARY KEY, - `date_sync` datetime DEFAULT NULL, - `rate` double NOT NULL DEFAULT '0', - `fk_multicurrency` integer NOT NULL DEFAULT '0', - `entity` integer NOT NULL DEFAULT '0', - KEY `fk_multicurrency` (`fk_multicurrency`), - KEY `entity` (`entity`) + rowid integer AUTO_INCREMENT PRIMARY KEY, + date_sync datetime DEFAULT NULL, + rate double NOT NULL DEFAULT '0', + fk_multicurrency integer NOT NULL DEFAULT '0', + entity integer NOT NULL DEFAULT '0', + KEY fk_multicurrency (fk_multicurrency), + KEY entity (entity) ) ENGINE=innodb; ALTER TABLE llx_societe ADD COLUMN fk_multicurrency integer;