-
Notifications
You must be signed in to change notification settings - Fork 785
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
docs: Document new prisma init
CLI parameters
#5395
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This PR changes the following pages (Vercel Preview Deploy links): Changed Vercel links (Note that links will only be valid after Vercel preview deploy succeeded) |
This PR probably requires the following redirects to be added to vercel.json:
|
content/400-reference/200-api-reference/200-command-reference.mdx
Outdated
Show resolved
Hide resolved
content/400-reference/200-api-reference/200-command-reference.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
| `--datasource-provider` | No | Specifies the default value for the `provider` field in the `datasource` block. Options are `sqlite`, `postgresql`, `mysql`, `sqlserver`, `mongodb` and `cockroachdb`. | `postgresql` | | ||
| `--url` | No | Define a custom datasource url. | | | ||
| `--generator-provider` | No | Define the default generator provider to use. | `prisma-client-js` | | ||
| `--preview-features` | No | Define the default Preview features to use. [Learn more](/concepts/components/preview-features) | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only one that can be used multiple times to define the array? If so, we should mention that somehow as it is different from the other arguments that are singular.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I've created a small PR to take care of that with an example: #5403
Closes #5359