From 8e2cc43eb17b4fd0020932d845b51ba63dd1c70f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 15 Apr 2021 19:19:58 +0200 Subject: [PATCH] Clean code --- dev/initdemo/mysqldump_dolibarr_14.0.0.sql | 2 +- htdocs/install/mysql/tables/llx_projet.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/initdemo/mysqldump_dolibarr_14.0.0.sql b/dev/initdemo/mysqldump_dolibarr_14.0.0.sql index a77eb9dd673..22f78a32509 100644 --- a/dev/initdemo/mysqldump_dolibarr_14.0.0.sql +++ b/dev/initdemo/mysqldump_dolibarr_14.0.0.sql @@ -11767,7 +11767,7 @@ CREATE TABLE `llx_recruitment_recruitmentcandidature` ( `remuneration_requested` int(11) DEFAULT NULL, `remuneration_proposed` int(11) DEFAULT NULL, `fk_recruitment_origin` int(11) DEFAULT NULL, - `email_msgid` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL, + `email_msgid` varchar(175) CHARACTER SET utf8mb4 DEFAULT NULL, `entity` int(11) NOT NULL DEFAULT 1, `date_birth` date DEFAULT NULL, PRIMARY KEY (`rowid`), diff --git a/htdocs/install/mysql/tables/llx_projet.sql b/htdocs/install/mysql/tables/llx_projet.sql index cd5eedd2c9a..97acc8d3411 100644 --- a/htdocs/install/mysql/tables/llx_projet.sql +++ b/htdocs/install/mysql/tables/llx_projet.sql @@ -40,7 +40,7 @@ create table llx_projet fk_user_close integer DEFAULT NULL, note_private text, note_public text, - email_msgid varchar(255), -- if project or lead is created by email collector, we store here MSG ID + email_msgid varchar(175), -- if project or lead is created by email collector, we store here MSG ID. Do not use a too large value, it generates trouble with unique index --budget_days real, -- budget in days is sum of field planned_workload of tasks opp_amount double(24,8), budget_amount double(24,8),