Fix error "Invalid default value for 'date_price'"
This commit is contained in:
parent
f7e71d1de2
commit
5871d59db9
@ -254,6 +254,10 @@ ALTER TABLE llx_contrat ADD COLUMN fk_user_modif integer;
|
|||||||
|
|
||||||
update llx_accounting_account set account_parent = 0 where account_parent = '';
|
update llx_accounting_account set account_parent = 0 where account_parent = '';
|
||||||
|
|
||||||
|
-- VMYSQL4.3 ALTER TABLE llx_product_price MODIFY COLUMN date_price DATETIME NULL;
|
||||||
|
-- VPGSQL8.2 ALTER TABLE llx_product_price ALTER COLUMN date_price DROP NOT NULL;
|
||||||
|
ALTER TABLE llx_product_price ALTER COLUMN date_price SET DEFAULT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_product_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
|
ALTER TABLE llx_product_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
|
||||||
ALTER TABLE llx_product_fournisseur_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
|
ALTER TABLE llx_product_fournisseur_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user