From 0624e5d34b3b65923703ad4edb0512864c5c4358 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 10 Oct 2011 08:49:10 +0200 Subject: [PATCH] Fix: sql error --- .../mysql/tables/llx_product_fournisseur_price.sql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql index 42f9f836471..3adb886fa31 100644 --- a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql +++ b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql @@ -1,6 +1,7 @@ -- ============================================================================ --- Copyright (C) 2003 Rodolphe Quiedeville --- Copyright (C) 2009 Laurent Destailleur +-- Copyright (C) 2003 Rodolphe Quiedeville +-- Copyright (C) 2009-2011 Laurent Destailleur +-- Copyright (C) 2009-2011 Regis Houssin -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -20,6 +21,7 @@ create table llx_product_fournisseur_price ( rowid integer AUTO_INCREMENT PRIMARY KEY, + entity integer DEFAULT 1 NOT NULL, -- multi company id datec datetime, tms timestamp, fk_product_fournisseur integer NOT NULL, -- deprecated @@ -30,6 +32,5 @@ create table llx_product_fournisseur_price price double(24,8) DEFAULT 0, quantity double, unitprice double(24,8) DEFAULT 0, - fk_user integer, - entity integer DEFAULT 1 NOT NULL, -- multi company id + fk_user integer )ENGINE=innodb;