+26
À l'étude
Pattern for naming objects
It would be a handy feature to allow user to define patterns for default object names, eg. primary keys. Currently, PK is formed using pattern "{objectName}_pk". Such pattern could be defined by user, having access to variables like {objectName}, {objectNameSingular} (for objects named in plural form). For FK, source and destination object names could be accessible, so user can form default FK name as "FK_{sourceObjectName}_{destinationObjectName}". I'm aware, that this can be done via explicitly naming PKs and FKs, but such feature would be useful when model is big and many relations exist.
-1
À l'étude
Agnieszka Kozubek-Krycuń (Chief Scientist) il y a 10 ans
We've talked about it here in the team. For now, it's not on our roadmap. I will keep the thread open so that other users can upvote or comment about this feature.
+1
Jae Nwawe il y a 9 ans
Yes, there are several naming conventions, and I would love to just be able to select camelCase for my models.
+2
mark leavesley il y a 9 ans
This would be fantastic. Everytime I add an FK I have to rename it because I don't want table prefixes. It would also be cool to automatically add the primary key using a name pattern whenever I create a table.
Service d'assistance aux clients par UserEcho