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;