Bug #18802 | Cannot assign foreign key as additional primary key | ||
---|---|---|---|
Submitted: | 5 Apr 2006 13:31 | Modified: | 2 May 2006 16:58 |
Reporter: | Klaus Bensch | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Workbench Preview | Severity: | S2 (Serious) |
Version: | 1.0.5 | OS: | Windows (WinXP-SP2) |
Assigned to: | CPU Architecture: | Any |
[5 Apr 2006 13:31]
Klaus Bensch
[5 Apr 2006 13:47]
Klaus Bensch
There is a workaround if you create new tables: Create the first table with primary key. Insert new table. Don't edit table at this point. Add 1:n relation between tables. Now open table editor and add new additional primary key. Change foreign key to primary key. Then save changes.
[2 May 2006 16:58]
Jorge del Conde
Thanks for your bug report. I was able to reproduce this under 1.0.6