From c6226e63b71221811173dece1e697d2a40cfc7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 18 Apr 2016 08:13:01 +0200 Subject: [PATCH] Update 3.9.0-4.0.0.sql --- htdocs/install/mysql/migration/3.9.0-4.0.0.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;