0
Fertiggestellt

Allow for naming primary keys

Lukas Eder vor 10 Jahren aktualisiert von Rafał Strzaliński (Senior Engineer) vor 9 Jahren 7
Currently, primary keys cannot be named. They're only flags on a table's columns. That's not complete, of course, as primary keys are constraints like any other, which can be managed via their own names
Geplant
You're right. This feature is on our roadmap. We'll add it in the coming weeks.
Thank you very much!
+1
It is on production. You can find the option "Primary key name" in Additional properties tab. See screenshot:
Wonderful, thank you. I will consider this when I upgrade the Vertabelo / jOOQ integration examples

Great indeed.

Now, what about naming conventions, i.e., is there a way to setup Vertabelo so that it generates them automatically (1) and use some kind of configurable pattern (e.g., PK_<%tableName%>) (2)?

This configurability may apply in other areas as well.

Unfortunately, there is no option to add a pattern.