diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index e050473c958..1b76800711f 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -11,4 +11,15 @@ create table llx_commande_model_pdf nom varchar(50) PRIMARY KEY, libelle varchar(255), description text -)type=innodb; \ No newline at end of file +)type=innodb; + + +alter table llx_commande add column note_public text after note; + +alter table llx_contrat add column note text; +alter table llx_contrat add column note_public text after note; + +alter table llx_facture add column note_public text after note; + +alter table llx_propal add column note_public text after note; + diff --git a/mysql/tables/llx_commande.sql b/mysql/tables/llx_commande.sql index 469856318e6..dcfb248759b 100644 --- a/mysql/tables/llx_commande.sql +++ b/mysql/tables/llx_commande.sql @@ -45,6 +45,7 @@ create table llx_commande total_ht real default 0, total_ttc real default 0, note text, + note_public text, model_pdf varchar(50), facture tinyint default 0, UNIQUE INDEX (ref) diff --git a/mysql/tables/llx_contrat.sql b/mysql/tables/llx_contrat.sql index dbdf351a646..26560437d04 100644 --- a/mysql/tables/llx_contrat.sql +++ b/mysql/tables/llx_contrat.sql @@ -38,6 +38,8 @@ create table llx_contrat fk_commercial_suivi integer NOT NULL, -- obsolete fk_user_author integer NOT NULL default 0, fk_user_mise_en_service integer, - fk_user_cloture integer + fk_user_cloture integer, + note text, + note_public text )type=innodb; diff --git a/mysql/tables/llx_facture.sql b/mysql/tables/llx_facture.sql index 90039898738..595bf1268d0 100644 --- a/mysql/tables/llx_facture.sql +++ b/mysql/tables/llx_facture.sql @@ -49,6 +49,7 @@ create table llx_facture date_lim_reglement date, -- date limite de reglement note text, + note_public text, model varchar(50), UNIQUE INDEX (facnumber) diff --git a/mysql/tables/llx_propal.sql b/mysql/tables/llx_propal.sql index 5e4d767c82d..d9503ef7492 100644 --- a/mysql/tables/llx_propal.sql +++ b/mysql/tables/llx_propal.sql @@ -47,6 +47,7 @@ create table llx_propal fk_mode_reglement integer, -- mode de reglement (Virement, Prélèvement) note text, + note_public text, model_pdf varchar(50), UNIQUE INDEX (ref)