Bug #61440 | Add user defined foreign keys to external tables | ||
---|---|---|---|
Submitted: | 8 Jun 2011 8:27 | Modified: | 31 Jul 2013 5:34 |
Reporter: | Stas V | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[8 Jun 2011 8:27]
Stas V
[20 Jun 2011 9:37]
Alfredo Kojima
Have you tried the "Select Manualy..." item in the table picking popup selector, in the FK list?
[20 Jun 2011 11:40]
Stas V
Yes, it works only with tables within current model. If current model has to foreign table I want to refer - it is impossible to add a FK. Another possible solution is to add flag "Skip when generating SQL" flag into table properties. I think this is actually simplest fix, because it is already implemented for foreign keys :D
[31 Jul 2013 5:34]
Philip Olson
Fixed as of MySQL Workbench 6.0.4, and here's the changelog entry: It is now possible to manually specify referenced tables and columns to alter forward engineering behavior. A stub table is created for this, which is not forward engineered. Thank you for the bug report.