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

docs: Document new prisma init CLI parameters #5395

Merged
merged 13 commits into from
Oct 24, 2023
Merged

docs: Document new prisma init CLI parameters #5395

merged 13 commits into from
Oct 24, 2023

Conversation

ruheni
Copy link
Contributor

@ruheni ruheni commented Oct 23, 2023

Closes #5359

@vercel
Copy link

vercel bot commented Oct 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 1:50pm

@ruheni ruheni self-assigned this Oct 23, 2023
@github-actions
Copy link
Contributor

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)

@ruheni ruheni requested review from janpio, Jolg42 and jharrell October 23, 2023 14:10
@github-actions
Copy link
Contributor

This PR probably requires the following redirects to be added to vercel.json:

  • This PR does not change any pages in a way that would require a redirect.

@ruheni ruheni added this to the 5.5.0 milestone Oct 23, 2023
Copy link
Contributor

@Jolg42 Jolg42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

ruheni and others added 2 commits October 24, 2023 10:04
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
@ruheni ruheni merged commit 2061b03 into main Oct 24, 2023
5 checks passed
@ruheni ruheni deleted the prisma-init-args branch October 24, 2023 13:46
| `--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) | |
Copy link
Contributor

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.

Copy link
Contributor Author

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

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

Successfully merging this pull request may close these issues.

Document new prisma init CLI parameters
4 participants