Bug #45388 No primary key naming convention
Submitted: 9 Jun 2009 8:40 Modified: 10 Jun 2009 9:16
Reporter: Karsten Wutzke Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: naming convention, primary key

[9 Jun 2009 8:40] Karsten Wutzke
Description:
In "Tools" -> "Options..." -> "Model" tab there are naming conventions for foreign keys.

The default primary key of a table is always "PRIMARY". I want to control that like the FK's.

How to repeat:
-
[10 Jun 2009 9:16] Susanne Ebrecht
Many thanks for writing a bug report.

The index name for the primary key index always is PRIMARY in MySQL. You are not able to change the name here besides you will drop the index and create a usual unique index.

This is not a bug because the MySQL server don't support this feature. And we won't change this behaviour on server.