Declaration migration non en phase avec creation.

This commit is contained in:
Laurent Destailleur 2007-08-02 22:29:29 +00:00
parent a55f70e561
commit 97eebce205

View File

@ -59,9 +59,8 @@ create table `llx_categorie_societe` (
-- --
alter table `llx_categorie_societe` drop foreign key fk_societe; alter table `llx_categorie_societe` drop foreign key fk_societe;
alter table `llx_categorie_societe` alter table `llx_categorie_societe` add constraint `fk_categorie_societe_categorie_rowid` foreign key(`fk_categorie`) REFERENCES `llx_categorie` (`rowid`);
add constraint `llx_categorie_societe_ibfk_1` foreign key(`fk_societe`) REFERENCES `llx_societe` (`rowid`) ON DELETE CASCADE ON UPDATE CASCADE, alter table `llx_categorie_societe` add constraint `fk_categorie_societe_fk_soc` foreign key(`fk_societe`) REFERENCES `llx_societe` (`rowid`);
add constraint `llx_categorie_societe_ibfk_2` foreign key(`fk_categorie`) REFERENCES `llx_categorie` (`rowid`) ON DELETE CASCADE ON UPDATE CASCADE;
create table `llx_categorie_product` ( create table `llx_categorie_product` (
`fk_categorie` int(11) not null, `fk_categorie` int(11) not null,