Fix: On doit détruire la clé étrangère avant de pouvoir détruire la colonne

This commit is contained in:
Laurent Destailleur 2006-05-31 21:13:24 +00:00
parent 63c9803513
commit 91952b9fce

View File

@ -227,6 +227,7 @@ create table llx_livraison
key(fk_commande) key(fk_commande)
)type=innodb; )type=innodb;
alter table llx_livraison drop foreign key fk_livraison_societe;
alter table llx_livraison drop column fk_soc; alter table llx_livraison drop column fk_soc;
alter table llx_livraison drop column fk_soc_contact; alter table llx_livraison drop column fk_soc_contact;