From c35a1ebaf749529ee820d9adc37ac1dfc135071c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 8 Oct 2012 19:38:09 +0200 Subject: [PATCH] Fix: missing drop foreign key --- htdocs/install/mysql/migration/3.2.0-3.3.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/install/mysql/migration/3.2.0-3.3.0.sql b/htdocs/install/mysql/migration/3.2.0-3.3.0.sql index a1ae84484c2..0cedd43afcb 100755 --- a/htdocs/install/mysql/migration/3.2.0-3.3.0.sql +++ b/htdocs/install/mysql/migration/3.2.0-3.3.0.sql @@ -767,6 +767,8 @@ ALTER TABLE llx_product_fournisseur_price ADD COLUMN import_key varchar(14) AFTE ALTER TABLE llx_product_stock ADD COLUMN import_key varchar(14) AFTER pmp; -- [ task #146 ] Remove table llx_categorie_association +ALTER TABLE llx_categorie_association DROP FOREIGN KEY fk_categorie_asso_fk_categorie_mere; +ALTER TABLE llx_categorie_association DROP FOREIGN KEY fk_categorie_asso_fk_categorie_fille; ALTER TABLE llx_categorie DROP INDEX uk_categorie_ref; ALTER TABLE llx_categorie ADD COLUMN fk_parent integer DEFAULT 0 NOT NULL AFTER rowid; ALTER TABLE llx_categorie MODIFY COLUMN label varchar(255) NOT NULL;