Bug #59655 | Can't set foreign key on different type fields | ||
---|---|---|---|
Submitted: | 21 Jan 2011 12:31 | Modified: | 28 Jun 2013 0:59 |
Reporter: | Piotr Jasiulewicz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.29 | OS: | Linux (Ubuntu 10.04) |
Assigned to: | CPU Architecture: | Any | |
Tags: | fields |
[21 Jan 2011 12:31]
Piotr Jasiulewicz
[21 Jan 2011 12:45]
Valeriy Kravchuk
Sounds like a nice feature request: options to control level of check for foreign key constraints.
[21 Jan 2011 13:52]
Piotr Jasiulewicz
Found out that if you set two exact types but different lenghts eg: Table A: FieldA TINYINT Table B: FeildB TINYINT(3) WB won't let you set the referentced colum but will let you set the column on the Foreign Keys Tab -> Index Columns Hope this helps
[28 Jun 2013 0:59]
Philip Olson
Fixed as of the upcoming MySQL Workbench 6.0.3 release, and here's the changelog entry: An error dialog is now generated if an invalid column is chosen from the foreign key picker when creating the relationship. Thank you for the bug report.