From 20e9eb5f8facca9430fc63102926445d3c608a6c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Apr 2013 10:40:59 +0200 Subject: [PATCH] Fix: syntax error --- htdocs/install/mysql/migration/3.3.0-3.4.0.sql | 6 +++--- htdocs/install/mysql/tables/llx_printer_ipp.sql | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql index 45d28802558..42cd9a10f08 100755 --- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql +++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql @@ -214,16 +214,16 @@ ALTER TABLE llx_product_price ADD COLUMN import_key varchar(14) AFTER price_by_q DROP TABLE llx_printer_ipp; CREATE TABLE llx_printer_ipp ( - rowid int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, + rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp, datec datetime, printer_name text NOT NULL, printer_location text NOT NULL, printer_uri varchar(256) NOT NULL, - copy int(11) NOT NULL DEFAULT '1', + copy integer NOT NULL DEFAULT '1', module varchar(16) NOT NULL, login varchar(32) NOT NULL -)ENGINE=innodb; +) ENGINE=innodb; ALTER TABLE llx_socpeople ADD COLUMN ref_ext varchar(128) after entity; diff --git a/htdocs/install/mysql/tables/llx_printer_ipp.sql b/htdocs/install/mysql/tables/llx_printer_ipp.sql index cb898432fe5..19aa1c4d127 100644 --- a/htdocs/install/mysql/tables/llx_printer_ipp.sql +++ b/htdocs/install/mysql/tables/llx_printer_ipp.sql @@ -18,7 +18,7 @@ CREATE TABLE llx_printer_ipp ( - rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY, + rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp, datec datetime, printer_name text NOT NULL,