From d0b43dcfac24e90a07d493c6217b1057d456255f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 26 Jun 2005 14:17:59 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Cr=E9ation=20nouvelle=20table=20manquant?= =?UTF-8?q?=20dans=20migration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/1.1.0-2.0.0.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index bbdd00b249c..519c63aab8d 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -5,6 +5,18 @@ -- sans AUCUNE erreur ni warning -- ; +create table llx_product_fournisseur_price_log +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + datec datetime, + fk_product integer, + fk_soc integer, + price real, + quantity real, + fk_user integer + +)type=innodb; + create table llx_usergroup ( rowid integer AUTO_INCREMENT PRIMARY KEY, @@ -191,6 +203,7 @@ alter table llx_societe add capital real after tva_intra; alter table llx_societe add rubrique varchar(255); alter table llx_societe add remise_client real default 0; +update llx_societe set prefix_comm = null where prefix_comm = ''; update llx_societe set code_client = null where code_client = ''; ALTER TABLE llx_societe ADD UNIQUE uk_societe_prefix_comm(prefix_comm); ALTER TABLE llx_societe ADD UNIQUE uk_societe_code_client(code_client);