This commit is contained in:
Laurent Destailleur 2024-03-17 12:26:40 +01:00
parent aa0c0ccff0
commit c4b16e996e
2 changed files with 5 additions and 1 deletions

View file

@ -276,3 +276,5 @@ ALTER TABLE llx_ticket ADD COLUMN fk_barcode_type integer DEFAULT NULL after bar
ALTER TABLE llx_ticket ADD UNIQUE INDEX uk_ticket_barcode_barcode_type (barcode, fk_barcode_type, entity);
ALTER TABLE llx_ticket ADD CONSTRAINT llx_ticket_fk_product_barcode_type FOREIGN KEY (fk_barcode_type) REFERENCES llx_c_barcode_type (rowid);
ALTER TABLE llx_societe ADD COLUMN fk_parent integer NULL;

View file

@ -27,7 +27,9 @@ create table llx_socpeople
fk_soc integer, -- lien vers la societe
entity integer DEFAULT 1 NOT NULL, -- multi company id
ref_ext varchar(255), -- reference into an external system (not used by dolibarr)
name_alias varchar(255),
name_alias varchar(255),
fk_parent integer NULL,
civility varchar(6),
lastname varchar(50),
firstname varchar(50),