Add missing column
This commit is contained in:
parent
fab6dde593
commit
6eaa6a1d28
@ -35,6 +35,8 @@
|
||||
|
||||
-- For 10.0
|
||||
|
||||
ALTER TABLE llx_loan ADD COLUMN insurance_amount double(24,8) DEFAULT 0;
|
||||
|
||||
ALTER TABLE llx_facture DROP INDEX idx_facture_uk_facnumber;
|
||||
ALTER TABLE llx_facture CHANGE facnumber ref VARCHAR(30) NOT NULL;
|
||||
ALTER TABLE llx_facture ADD UNIQUE INDEX uk_facture_ref (ref, entity);
|
||||
|
||||
@ -27,7 +27,7 @@ create table llx_loan
|
||||
label varchar(80) NOT NULL,
|
||||
fk_bank integer,
|
||||
|
||||
capital double(24,8) default 0 NOT NULL,
|
||||
capital double(24,8) DEFAULT 0 NOT NULL,
|
||||
datestart date,
|
||||
dateend date,
|
||||
nbterm real,
|
||||
@ -36,9 +36,10 @@ create table llx_loan
|
||||
note_private text,
|
||||
note_public text,
|
||||
|
||||
capital_position double(24,8) default 0, -- If not a new loan, just have the position of capital
|
||||
capital_position double(24,8) DEFAULT 0, -- If not a new loan, just have the position of capital
|
||||
date_position date,
|
||||
|
||||
insurance_amount double(24,8) DEFAULT 0,
|
||||
|
||||
paid smallint default 0 NOT NULL,
|
||||
|
||||
accountancy_account_capital varchar(32),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user