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, --