diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index 70cb245c772..52484301ea8 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -363,7 +363,7 @@ ALTER TABLE llx_accounting_account MODIFY COLUMN account_parent integer; DROP INDEX uk_bordereau_cheque ON llx_bordereau_cheque; -ALTER TABLE llx_bordereau_cheque CHANGE number ref VARCHAR(30) NOT NULL; +ALTER TABLE llx_bordereau_cheque CHANGE COLUMN number ref VARCHAR(30) NOT NULL; CREATE UNIQUE INDEX uk_bordereau_cheque ON llx_bordereau_cheque (ref, entity); @@ -382,4 +382,4 @@ ALTER TABLE llx_product_fournisseur_price ADD supplier_reputation varchar(10) NU -- Delete old deprecated field ALTER TABLE llx_product_stock DROP COLUMN pmp; -ALTER TABLE llx_societe ADD COLUMN fk_shipping_method_id integer; \ No newline at end of file +ALTER TABLE llx_societe ADD COLUMN fk_shipping_method_id integer;