I am using Doctrine to generate and update my DB based on my Entities. Furthermore, I am using a MyISAM engine on my tables. To do so I have added my annotations like:
/** (...) @ORM\Table(name="user",options={"engine":"MyISAM", "charset"="utf8"}) */
The tables were generated as MyISAM normally, but when I try to update them now doctrine is trying to generate the FKs. Then I got:
General error: 1215 Cannot add foreign key constraint
I know MyISAM does not support FKs, is there a way to tell doctrine to skip the creation of FKs?
I am using both orm:schema-tools:update (in DEV) and migrations (in PROD). Also I am using zf2.