diff --git a/mysql/migration/1.0.0-1.1.0.sql b/mysql/migration/1.0.0-1.1.0.sql index 8c042bce0e8..74af82a9789 100644 --- a/mysql/migration/1.0.0-1.1.0.sql +++ b/mysql/migration/1.0.0-1.1.0.sql @@ -14,6 +14,7 @@ alter table llx_facturedet add remise_percent real default 0; alter table llx_facturedet add remise real default 0; alter table llx_facturedet add subprice real default 0; +alter table llx_facturedet modify fk_product NOT NULL default 0; create table llx_product_fournisseur (