NEW : Update SQL : install and migration
This commit is contained in:
parent
709a297563
commit
317876eb0c
@ -57,6 +57,7 @@ ALTER TABLE llx_categorie_ticket ADD CONSTRAINT fk_categorie_ticket_categorie_ro
|
||||
ALTER TABLE llx_categorie_ticket ADD CONSTRAINT fk_categorie_ticket_ticket_rowid FOREIGN KEY (fk_ticket) REFERENCES llx_ticket (rowid);
|
||||
ALTER TABLE llx_product_fournisseur_price MODIFY COLUMN ref_fourn varchar(128);
|
||||
ALTER TABLE llx_product_customer_price MODIFY COLUMN ref_customer varchar(128);
|
||||
ALTER TABLE llx_product_association ADD COLUMN rang int;
|
||||
|
||||
-- -- add action trigger
|
||||
INSERT INTO llx_c_action_trigger (code,label,description,elementtype,rang) VALUES ('ORDER_SUPPLIER_CANCEL','Supplier order request canceled','Executed when a supplier order is canceled','order_supplier',13);
|
||||
|
||||
@ -23,6 +23,7 @@ create table llx_product_association
|
||||
fk_product_pere integer NOT NULL DEFAULT 0, -- id du produit maitre
|
||||
fk_product_fils integer NOT NULL DEFAULT 0, -- id du sous-produit
|
||||
qty double NULL,
|
||||
incdec integer DEFAULT 1 -- when set to 1 changing stock of product will change stock of linked product too
|
||||
incdec integer DEFAULT 1, -- when set to 1 changing stock of product will change stock of linked product too
|
||||
range integer,
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user