mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-582: './doctrine build-all-reload' on many to many relations in yaml definition depending on table names #713
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 12, 2010).
Jira issue originally created by user oliver:
If you try to generate your database model out of yml with some relations between the tables, in some cases it fails, if there are relations between tables.
It seems like this depends on table names! When doctrine-cli creates the tables in sql, it uses the table classes in alphabetical order. If you define your cross table names starting with a "z" for example, it works until depending table names are starting with a-y.
@doctrinebot commented on GitHub (May 12, 2010):
Comment created by oliver:
Sorry, it was my fault. I forgot to define local and foreign for relations with onDelete in example. Solved!
@doctrinebot commented on GitHub (May 12, 2010):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 2 attachments from Jira into https://gist.github.com/946bf513de54d48ee41b