I have found that manually changing the connection in the EM config back and forth allows me to select which Bundle's entities should be created by running schema:update or schema:create. The dumped SQL code does not account for cross-database (schema) foreign keys.
Following the advice from this SO thread (http://stackoverflow.com/questions/30193861/doctrine-doesnt-generate-cross-database-foreign-keys) and commenting out the *entire* function results in the correct cross-database FKs to be generated, but I am wondering, is this actually a legit approach? Also, is there any other way to create both schemas without manually altering the config.yml every time? -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
