From 80a3fc352ebd6a013515d509c9ff665dd3f32c3b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Apr 2011 07:32:59 +0000 Subject: [PATCH] Fix: Bad sql format --- htdocs/cashdesk/sql/llx_pos_tmp.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/cashdesk/sql/llx_pos_tmp.sql b/htdocs/cashdesk/sql/llx_pos_tmp.sql index 51fad72bc84..8771b0ddda8 100755 --- a/htdocs/cashdesk/sql/llx_pos_tmp.sql +++ b/htdocs/cashdesk/sql/llx_pos_tmp.sql @@ -19,7 +19,7 @@ -- =========================================================================== CREATE TABLE llx_pos_tmp ( - id integer NOT NULL AUTO_INCREMENT PRIMARY KEY, + id integer AUTO_INCREMENT PRIMARY KEY, fk_article integer NOT NULL, qte real NOT NULL, fk_tva integer NOT NULL, @@ -27,6 +27,5 @@ CREATE TABLE llx_pos_tmp ( remise real NOT NULL, total_ht double(24,8) NOT NULL, total_tva double(24,8) NOT NULL, - total_ttc double(24,8) NOT NULL, - PRIMARY KEY (id) + total_ttc double(24,8) NOT NULL ) ENGINE=innodb;