-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse engineering FKs to a foreign table fails on MySQL #191
Comments
I've renamed your issue for clarity. |
And I add syntax HL on the code :) |
I had some time today to think about it. I've realized the problem is much deeper: I really can't find any information about reverse engineering across multiple databases/schemas. That's really an issue for me: I have a big set of 5 databases including between 20 and 60 tables, and some are connected. |
Update documentation/whats-new.markdown
Are there any updates on this issue? Should we expect this to be implemented? |
In propel 1 no, but if someone send a pull request on Propel2 maybe, |
I have two databases and some tables have foreign keys across the two databases.
From what I've read, I thought I could generate a schema.xml referencing foreign keys from a different database, but I couldn't make it work.
Here's the SQL code for the creation one one table with an external foreign key (I've kept only major columns):
Reading the
MysqlSchemaParser.php
, I've noticed that the regexworks perfectly for tables within the same schema but excludes a reference to an external table.
I tried to find discussions about that, unsuccessfully.
I'd be glad to have an explanation about that, because I might have misunderstood something.
_bertrand
The text was updated successfully, but these errors were encountered: