0
Voltooid

Allow for naming primary keys

Lukas Eder 10 jaar geleden bijgewerkt door Rafał Strzaliński (Senior Engineer) 9 jaar geleden 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
Planned
You're right. This feature is on our roadmap. We'll add it in the coming weeks.
+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.