Uniformize fields
This commit is contained in:
parent
73c7aa378e
commit
67a442cd9a
@ -32,3 +32,14 @@ ALTER TABLE llx_website_page MODIFY COLUMN pageurl varchar(255);
|
|||||||
ALTER TABLE llx_website_page ADD COLUMN lang varchar(6);
|
ALTER TABLE llx_website_page ADD COLUMN lang varchar(6);
|
||||||
ALTER TABLE llx_website_page ADD COLUMN fk_page integer;
|
ALTER TABLE llx_website_page ADD COLUMN fk_page integer;
|
||||||
|
|
||||||
|
ALTER TABLE llx_fichinter ADD COLUMN import_key varchar(14);
|
||||||
|
ALTER TABLE llx_livraison ADD COLUMN import_key varchar(14);
|
||||||
|
ALTER TABLE llx_livraison ADD COLUMN extraparams varchar(255);
|
||||||
|
ALTER TABLE llx_don ADD COLUMN extraparams varchar(255);
|
||||||
|
|
||||||
|
ALTER TABLE llx_accounting_account ADD COLUMN import_key varchar(14);
|
||||||
|
ALTER TABLE llx_accounting_account ADD COLUMN extraparams varchar(255);
|
||||||
|
ALTER TABLE llx_accounting_bookkeeping ADD COLUMN import_key varchar(14);
|
||||||
|
ALTER TABLE llx_accounting_bookkeeping ADD COLUMN extraparams varchar(255);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -35,4 +35,6 @@ create table llx_accounting_account
|
|||||||
fk_user_author integer DEFAULT NULL,
|
fk_user_author integer DEFAULT NULL,
|
||||||
fk_user_modif integer DEFAULT NULL,
|
fk_user_modif integer DEFAULT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
|
import_key varchar(14),
|
||||||
|
extraparams varchar(255) -- for other parameters with json format
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -44,10 +44,11 @@ CREATE TABLE llx_accounting_bookkeeping
|
|||||||
fk_user_modif integer, -- | user making last change
|
fk_user_modif integer, -- | user making last change
|
||||||
date_creation datetime, -- FEC:EcritureDate | creation date
|
date_creation datetime, -- FEC:EcritureDate | creation date
|
||||||
tms timestamp, -- | date last modification
|
tms timestamp, -- | date last modification
|
||||||
import_key varchar(14),
|
|
||||||
code_journal varchar(32) NOT NULL, -- FEC:JournalCode
|
code_journal varchar(32) NOT NULL, -- FEC:JournalCode
|
||||||
journal_label varchar(255), -- FEC:JournalLib
|
journal_label varchar(255), -- FEC:JournalLib
|
||||||
piece_num integer NOT NULL, -- FEC:EcritureNum
|
piece_num integer NOT NULL, -- FEC:EcritureNum
|
||||||
validated tinyint DEFAULT 0 NOT NULL, -- | 0 line not validated / 1 line validated (No deleting / No modification)
|
validated tinyint DEFAULT 0 NOT NULL, -- | 0 line not validated / 1 line validated (No deleting / No modification)
|
||||||
date_validated datetime -- FEC:ValidDate
|
date_validated datetime -- FEC:ValidDate
|
||||||
|
import_key varchar(14),
|
||||||
|
extraparams varchar(255) -- for other parameters with json format
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|||||||
@ -51,5 +51,6 @@ create table llx_don
|
|||||||
note_private text,
|
note_private text,
|
||||||
note_public text,
|
note_public text,
|
||||||
model_pdf varchar(255),
|
model_pdf varchar(255),
|
||||||
import_key varchar(14)
|
import_key varchar(14),
|
||||||
|
extraparams varchar(255) -- for other parameters with json format
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -31,8 +31,8 @@ create table llx_fichinter
|
|||||||
date_valid datetime, -- date de validation
|
date_valid datetime, -- date de validation
|
||||||
datei date, -- date de livraison du bon d'intervention
|
datei date, -- date de livraison du bon d'intervention
|
||||||
fk_user_author integer, -- user making creation
|
fk_user_author integer, -- user making creation
|
||||||
fk_user_modif integer, -- user making last change
|
fk_user_modif integer, -- user making last change
|
||||||
fk_user_valid integer, -- valideur de la fiche
|
fk_user_valid integer, -- user validating record
|
||||||
fk_statut smallint DEFAULT 0,
|
fk_statut smallint DEFAULT 0,
|
||||||
dateo date, -- date de début d'intervention
|
dateo date, -- date de début d'intervention
|
||||||
datee date, -- date de fin d'intervention
|
datee date, -- date de fin d'intervention
|
||||||
@ -42,5 +42,6 @@ create table llx_fichinter
|
|||||||
note_private text,
|
note_private text,
|
||||||
note_public text,
|
note_public text,
|
||||||
model_pdf varchar(255),
|
model_pdf varchar(255),
|
||||||
extraparams varchar(255) -- for stock other parameters with json format
|
import_key varchar(14),
|
||||||
|
extraparams varchar(255) -- for other parameters with json format
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
@ -41,6 +41,8 @@ create table llx_livraison
|
|||||||
note_public text,
|
note_public text,
|
||||||
model_pdf varchar(255),
|
model_pdf varchar(255),
|
||||||
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),
|
||||||
|
extraparams varchar(255) -- for other parameters with json format
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user