From adf47d697576341e379b0b67708f00e498787d9e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Apr 2013 00:34:33 +0200 Subject: [PATCH] Qual: Uniformise columns --- htdocs/install/mysql/migration/3.3.0-3.4.0.sql | 3 +++ htdocs/install/mysql/tables/llx_societe.sql | 1 + htdocs/install/mysql/tables/llx_socpeople.sql | 1 + 3 files changed, 5 insertions(+) diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql index c8cec34bb22..348698972e9 100755 --- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql +++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql @@ -224,3 +224,6 @@ CREATE TABLE llx_printer_ipp ALTER TABLE llx_socpeople ADD COLUMN ref_ext varchar(128) after entity; +ALTER TABLE llx_socpeople ADD COLUMN note_public text after note; +ALTER TABLE llx_societe ADD COLUMN note_public text after note; + diff --git a/htdocs/install/mysql/tables/llx_societe.sql b/htdocs/install/mysql/tables/llx_societe.sql index 786bfa92d38..b0d601fff47 100644 --- a/htdocs/install/mysql/tables/llx_societe.sql +++ b/htdocs/install/mysql/tables/llx_societe.sql @@ -63,6 +63,7 @@ create table llx_societe capital real, -- capital de la societe fk_stcomm integer DEFAULT 0 NOT NULL, -- commercial statut note text, -- + note_public text, -- prefix_comm varchar(5), -- prefix commercial client tinyint DEFAULT 0, -- client 0/1/2 fournisseur tinyint DEFAULT 0, -- fournisseur 0/1 diff --git a/htdocs/install/mysql/tables/llx_socpeople.sql b/htdocs/install/mysql/tables/llx_socpeople.sql index 4dbd835a7f8..921580394a8 100644 --- a/htdocs/install/mysql/tables/llx_socpeople.sql +++ b/htdocs/install/mysql/tables/llx_socpeople.sql @@ -47,6 +47,7 @@ create table llx_socpeople fk_user_creat integer DEFAULT 0, -- user qui a creel'enregistrement fk_user_modif integer, note text, + note_public text, default_lang varchar(6), canvas varchar(32), -- type of canvas if used (null by default) import_key varchar(14)