mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix missing extraparams column
This commit is contained in:
@@ -396,3 +396,7 @@ ALTER TABLE llx_c_tva ADD COLUMN use_default tinyint DEFAULT 0;
|
|||||||
|
|
||||||
ALTER TABLE llx_commande_fournisseurdet MODIFY COLUMN ref varchar(128);
|
ALTER TABLE llx_commande_fournisseurdet MODIFY COLUMN ref varchar(128);
|
||||||
ALTER TABLE llx_facture_fourn_det MODIFY COLUMN ref varchar(128);
|
ALTER TABLE llx_facture_fourn_det MODIFY COLUMN ref varchar(128);
|
||||||
|
|
||||||
|
ALTER TABLE llx_projet ADD COLUMN extraparams varchar(255);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ create table llx_commande
|
|||||||
fk_incoterms integer, -- for incoterms
|
fk_incoterms integer, -- for incoterms
|
||||||
location_incoterms varchar(255), -- for incoterms
|
location_incoterms varchar(255), -- for incoterms
|
||||||
import_key varchar(14),
|
import_key varchar(14),
|
||||||
extraparams varchar(255), -- for stock other parameters with json format
|
extraparams varchar(255), -- to save other parameters with json format
|
||||||
|
|
||||||
fk_multicurrency integer,
|
fk_multicurrency integer,
|
||||||
multicurrency_code varchar(3),
|
multicurrency_code varchar(3),
|
||||||
|
|||||||
@@ -19,45 +19,46 @@
|
|||||||
|
|
||||||
create table llx_projet
|
create table llx_projet
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
fk_soc integer,
|
fk_soc integer,
|
||||||
datec datetime, -- date creation project
|
datec datetime, -- date creation project
|
||||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
dateo date, -- date start project
|
dateo date, -- date start project
|
||||||
datee date, -- date end project
|
datee date, -- date end project
|
||||||
ref varchar(50),
|
ref varchar(50),
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
title varchar(255) NOT NULL,
|
title varchar(255) NOT NULL,
|
||||||
description text,
|
description text,
|
||||||
fk_user_creat integer NOT NULL, -- createur du projet
|
fk_user_creat integer NOT NULL, -- createur du projet
|
||||||
fk_user_modif integer,
|
fk_user_modif integer,
|
||||||
public integer, -- project is public or not
|
public integer, -- project is public or not
|
||||||
fk_statut integer DEFAULT 0 NOT NULL, -- open or close
|
fk_statut integer DEFAULT 0 NOT NULL, -- open or close
|
||||||
fk_opp_status integer DEFAULT NULL, -- if project is used to manage opportunities
|
fk_opp_status integer DEFAULT NULL, -- if project is used to manage opportunities
|
||||||
opp_percent double(5,2),
|
opp_percent double(5,2),
|
||||||
fk_opp_status_end integer DEFAULT NULL, -- if project is used to manage opportunities (the opportunity status the project has when set to lose)
|
fk_opp_status_end integer DEFAULT NULL, -- if project is used to manage opportunities (the opportunity status the project has when set to lose)
|
||||||
date_close datetime DEFAULT NULL,
|
date_close datetime DEFAULT NULL,
|
||||||
fk_user_close integer DEFAULT NULL,
|
fk_user_close integer DEFAULT NULL,
|
||||||
note_private text,
|
note_private text,
|
||||||
note_public text,
|
note_public text,
|
||||||
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
|
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
|
--budget_days real, -- budget in days is sum of field planned_workload of tasks
|
||||||
opp_amount double(24,8),
|
opp_amount double(24,8),
|
||||||
budget_amount double(24,8),
|
budget_amount double(24,8),
|
||||||
usage_opportunity integer DEFAULT 0, -- Set to 1 if project is used to follow an opportunity
|
usage_opportunity integer DEFAULT 0, -- Set to 1 if project is used to follow an opportunity
|
||||||
usage_task integer DEFAULT 1, -- Set to 1 if project is used to manage tasks and/or record timesheet
|
usage_task integer DEFAULT 1, -- Set to 1 if project is used to manage tasks and/or record timesheet
|
||||||
usage_bill_time integer DEFAULT 0, -- Set to 1 if time spent must be converted into invoices
|
usage_bill_time integer DEFAULT 0, -- Set to 1 if time spent must be converted into invoices
|
||||||
usage_organize_event integer DEFAULT 0, -- Set to 1 if you want to use project to organize an event or receive attendees registration
|
usage_organize_event integer DEFAULT 0, -- Set to 1 if you want to use project to organize an event or receive attendees registration
|
||||||
date_start_event datetime, -- date start event
|
date_start_event datetime, -- date start event
|
||||||
date_end_event datetime, -- date end event
|
date_end_event datetime, -- date end event
|
||||||
location varchar(255), -- location
|
location varchar(255), -- location
|
||||||
accept_conference_suggestions integer DEFAULT 0, -- Set to 1 if you want to allow unknown people to suggest conferences
|
accept_conference_suggestions integer DEFAULT 0, -- Set to 1 if you want to allow unknown people to suggest conferences
|
||||||
accept_booth_suggestions integer DEFAULT 0, -- Set to 1 if you want to Allow unknown people to suggest booth
|
accept_booth_suggestions integer DEFAULT 0, -- Set to 1 if you want to Allow unknown people to suggest booth
|
||||||
max_attendees integer DEFAULT 0,
|
max_attendees integer DEFAULT 0,
|
||||||
price_registration double(24,8),
|
price_registration double(24,8),
|
||||||
price_booth double(24,8),
|
price_booth double(24,8),
|
||||||
model_pdf varchar(255),
|
model_pdf varchar(255),
|
||||||
ip varchar(250), --ip used to create record (for public submission page)
|
ip varchar(250), -- ip used to create record (for public submission page)
|
||||||
last_main_doc varchar(255), -- relative filepath+filename of last main generated document
|
last_main_doc varchar(255), -- relative filepath+filename of last main generated document
|
||||||
import_key varchar(14) -- Import key
|
import_key varchar(14), -- Import key
|
||||||
|
extraparams varchar(255) -- to save other parameters with json format
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Reference in New Issue
Block a user