Missing field

This commit is contained in:
Laurent Destailleur 2020-10-12 11:30:53 +02:00
parent 920b31140b
commit 45e2a6409e
2 changed files with 3 additions and 0 deletions

View File

@ -324,6 +324,8 @@ ALTER TABLE llx_facturedet ADD COLUMN ref_ext varchar(255) AFTER multicurrency_t
ALTER TABLE llx_c_ticket_category ADD COLUMN fk_parent integer DEFAULT 0 NOT NULL;
ALTER TABLE llx_c_ticket_category ADD COLUMN force_severity varchar(32) NULL;
ALTER TABLE llx_expensereport ADD COLUMN fk_user_creat integer NULL;
ALTER TABLE llx_expensereport_ik ADD COLUMN ikoffset double DEFAULT 0 NOT NULL;
ALTER TABLE llx_paiement ADD COLUMN ref_ext varchar(255) AFTER ref;

View File

@ -36,6 +36,7 @@ CREATE TABLE llx_expensereport (
date_cancel datetime,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
fk_user_author integer NOT NULL, -- not the user author but the user the expense report is for
fk_user_creat integer DEFAULT NULL, -- the use author
fk_user_modif integer DEFAULT NULL,
fk_user_valid integer DEFAULT NULL,
fk_user_validator integer DEFAULT NULL,