-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
prisma init --with-model
#20915
Comments
Hi @janpio, I'd love to take on this issue. |
Hello guys, @fool1280 did you start working on this issue ? If not, can I do the PR ? I worked on it ! Thanks! |
Hey @Kayoshi-dev , I saw you have raised the PR for this issue, which having merge conflicts, can you plz resolve those, or let me know if i can take over this issue and raise a PR. 👍 |
Opened a PR to make the required docs changes for this: prisma/docs#5951 |
When testing things, it is often needed that after
prisma init
you add a trivial model to yourschema.prisma
file. It would be amazing if there was a simple CLI argument that adds a model to the generated file by default, making that step obsolete.Model can be as simple as our suggestion on
prisma generate
without a model:The text was updated successfully, but these errors were encountered: