Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platformatic DB table name convention not mentioned #168

Closed
sytranvn opened this issue Oct 1, 2024 · 0 comments · Fixed by platformatic/platformatic#3248
Closed

Platformatic DB table name convention not mentioned #168

sytranvn opened this issue Oct 1, 2024 · 0 comments · Fixed by platformatic/platformatic#3248

Comments

@sytranvn
Copy link

sytranvn commented Oct 1, 2024

I found when define tables with singular name eg: User, Role. The openapi spec is generated with duplicated ID. This cause re-declaration error when generate client Typescript definitions.

image

I tried change table names to plural and it does fixed the problem.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant