Back to articles list
- 1 minutes read

Tip #8 – Setting Your Own Names for Primary Key

Sometimes the naming convention you use requires a specific pattern for the primary keys’ names. That’s why you may want to set your own names for each primary key in your database model instead of using default ones. Go on reading to get to know how to do this in Vertabelo.

To give your own name to a primary key, select the table that contains the primary key you want to name:

own name for primary key

Expand the Additional properties section in the Table properties panel on the right:

naming convention

Set the Primary key name property:

primary keys’ names

Enter the name you want to give to the primary key:

primary keys’ names

In SQL Preview we can see that the primary key’s name is now the one you assigned:

primary key, naming convention

 
 
go to top

Our website uses cookies. By using this website, you agree to their use in accordance with the browser settings. You can modify your browser settings on your own. For more information see our Privacy Policy.