From e474b0aa67336fafcfea6afad0f1350e7d4ff06a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Jun 2006 22:39:43 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20email=20g=E9n=E9rique=20de=20la=20soci?= =?UTF-8?q?=E9t=E9=20dans=20les=20bases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/2.0.0-2.1.0.sql | 2 ++ mysql/tables/llx_societe.sql | 1 + 2 files changed, 3 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index c276ae17070..9ec55168a64 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -36,6 +36,8 @@ alter table llx_commande add column remise_absolue real DEFAULT 0 after remise_p ALTER TABLE llx_societe add mode_reglement tinyint; ALTER TABLE llx_societe add cond_reglement tinyint; ALTER TABLE llx_societe add tva_assuj tinyint DEFAULT '1'; +ALTER TABLE llx_societe add email varchar(128) after url; + ALTER TABLE llx_societe change active statut tinyint DEFAULT 0; diff --git a/mysql/tables/llx_societe.sql b/mysql/tables/llx_societe.sql index 2077460148b..f2bb716e2df 100644 --- a/mysql/tables/llx_societe.sql +++ b/mysql/tables/llx_societe.sql @@ -41,6 +41,7 @@ create table llx_societe tel varchar(20), -- phone number fax varchar(20), -- fax number url varchar(255), -- + email varchar(128), -- fk_secteur integer DEFAULT 0, -- fk_effectif integer DEFAULT 0, -- fk_typent integer DEFAULT 0, --