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.

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.