correct default definition for buy_price_ht in migration script
This commit is contained in:
parent
f0f52270a5
commit
8e2fee02df
@ -45,15 +45,15 @@ ALTER TABLE llx_product_fournisseur_price ADD charges DOUBLE( 24, 8 ) DEFAULT 0
|
||||
ALTER TABLE llx_product_fournisseur_price ADD unitcharges DOUBLE( 24, 8 ) DEFAULT 0 AFTER charges;
|
||||
|
||||
alter table llx_commandedet add column fk_product_fournisseur_price int(11) after info_bits;
|
||||
alter table llx_commandedet add column buy_price_ht double(24,8) after fk_product_fournisseur_price;
|
||||
alter table llx_commandedet add column buy_price_ht double(24,8) DEFAULT 0 after fk_product_fournisseur_price;
|
||||
alter table llx_commandedet drop column marge_tx;
|
||||
alter table llx_commandedet drop column marque_tx;
|
||||
|
||||
alter table llx_facturedet add column fk_product_fournisseur_price int(11) after info_bits;
|
||||
alter table llx_facturedet add column buy_price_ht double(24,8) after fk_product_fournisseur_price;
|
||||
alter table llx_facturedet add column buy_price_ht double(24,8) DEFAULT 0 after fk_product_fournisseur_price;
|
||||
|
||||
alter table llx_propaldet add column fk_product_fournisseur_price int(11) after info_bits;
|
||||
alter table llx_propaldet add column buy_price_ht double(24,8) after fk_product_fournisseur_price;
|
||||
alter table llx_propaldet add column buy_price_ht double(24,8) DEFAULT 0 after fk_product_fournisseur_price;
|
||||
alter table llx_propaldet drop column pa_ht;
|
||||
alter table llx_propaldet drop column marge_tx;
|
||||
alter table llx_propaldet drop column marque_tx;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user