FIX Missing columns in migration
This commit is contained in:
parent
97278c254e
commit
db56e1b8a1
@ -350,6 +350,8 @@ ALTER TABLE llx_expensereport_det ADD COLUMN multicurrency_total_ht double(24,8)
|
|||||||
ALTER TABLE llx_expensereport_det ADD COLUMN multicurrency_total_tva double(24,8) DEFAULT 0;
|
ALTER TABLE llx_expensereport_det ADD COLUMN multicurrency_total_tva double(24,8) DEFAULT 0;
|
||||||
ALTER TABLE llx_expensereport_det ADD COLUMN multicurrency_total_ttc double(24,8) DEFAULT 0;
|
ALTER TABLE llx_expensereport_det ADD COLUMN multicurrency_total_ttc double(24,8) DEFAULT 0;
|
||||||
|
|
||||||
|
ALTER TABLE llx_expensereport_det ADD COLUMN fk_facture integer DEFAULT 0;
|
||||||
|
|
||||||
ALTER TABLE llx_product_lang ADD COLUMN import_key varchar(14) DEFAULT NULL;
|
ALTER TABLE llx_product_lang ADD COLUMN import_key varchar(14) DEFAULT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_actioncomm MODIFY COLUMN elementtype varchar(255) DEFAULT NULL;
|
ALTER TABLE llx_actioncomm MODIFY COLUMN elementtype varchar(255) DEFAULT NULL;
|
||||||
|
|||||||
@ -40,6 +40,13 @@ CREATE TABLE llx_expensereport_det
|
|||||||
date date NOT NULL,
|
date date NOT NULL,
|
||||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||||
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
||||||
|
fk_multicurrency integer,
|
||||||
|
multicurrency_code varchar(255),
|
||||||
|
multicurrency_subprice double(24,8) DEFAULT 0,
|
||||||
|
multicurrency_total_ht double(24,8) DEFAULT 0,
|
||||||
|
multicurrency_total_tva double(24,8) DEFAULT 0,
|
||||||
|
multicurrency_total_ttc double(24,8) DEFAULT 0;
|
||||||
|
fk_facture integer DEFAULT 0, -- ID of customer invoice line if expense is rebilled to a customer
|
||||||
rang integer DEFAULT 0, -- position of line
|
rang integer DEFAULT 0, -- position of line
|
||||||
import_key varchar(14)
|
import_key varchar(14)
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
Loading…
Reference in New Issue
Block a user