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

Allow control over whether to use model name or db name #128

Open
michaelaltmann opened this issue Aug 24, 2022 · 2 comments
Open

Allow control over whether to use model name or db name #128

michaelaltmann opened this issue Aug 24, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@michaelaltmann
Copy link

When a schema has models that are mapped to database tables using the @@Map function, allow the user to decide whether to generate the diagram using model name or db table name.

@michaelaltmann
Copy link
Author

Deciding between model name and db name should also apply to fields (aka sb columns).

@keonik keonik added the enhancement New feature or request label Aug 29, 2022
@keonik
Copy link
Owner

keonik commented Aug 29, 2022

I wanted to do this but just haven't had time. I personally would rather see all the prisma variable names so I would default to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants