Bug #37837 Combo with Primary by Tab Index

Submitted: 3 Jul 2008 15:01 Modified: 3 Jul 2008 15:08
Reporter: Manfred Steiner Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.23 OS:Windows
Assigned to: CPU Architecture:Any

[3 Jul 2008 15:01] Manfred Steiner
Description:
In my table i would like to set Primarykey over two Columns

How to repeat:
- select a table
- go to indexes tab
- add a new index, named PRIMARY
- select PRIMARY in the type combo box
--> it isn't possible to select PRIMARY in the type combo, the selection always bounces back to INDEX or some other type of index.
[3 Jul 2008 15:08] Johannes Taxacher
hello Manfred,

setting primary keys is not allowed via the indices tab. it's actually way easier -> simply doubleclick the diamond-icon next to the column name (on columns tab) to add a column to PK or double click the little key icon to remove a column from PK. The corresponding Index-entry is setup and maintained by WB.
optionally you can check/uncheck the "PRIMARY KEY" checkbox in the "Flags"-Box of a column.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.