Bug #22076 Primary Key picture added randomly while adding Foreign key
Submitted: 7 Sep 2006 10:57 Modified: 8 Sep 2006 17:12
Reporter: Poulain Patrick (Candidate Quality Contributor) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.1.2 alpha OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any
Tags: key, primary

[7 Sep 2006 10:57] Poulain Patrick
Description:
When I add foreign key to a table sometimes, this field is show as PK in schema

How to repeat:
Edit a table and add foreign key
[8 Sep 2006 17:12] MySQL Verification Team
Thank you for the bug report.
[13 Feb 2007 14:27] Sheeri Cabral
Creating a table in general defaults to the first column defined as the primary key.  What happens if you create a table and then go to the index tab?  Have you tried creating a table with some columns and then going to the foreign key tab and making a foreign key that's *not* the first column?  I'd guess that might happen since foreign keys require indexes, and WB might be trying to be "smart".