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

composite types doc says to run migrate while mongodb doesn't support it #6292

Closed
chiptus opened this issue Sep 26, 2024 · 1 comment · Fixed by #6306
Closed

composite types doc says to run migrate while mongodb doesn't support it #6292

chiptus opened this issue Sep 26, 2024 · 1 comment · Fixed by #6306
Labels
docs Documentation creation, updates or corrections

Comments

@chiptus
Copy link

chiptus commented Sep 26, 2024

on https://www.prisma.io/docs/orm/prisma-client/special-fields-and-types/composite-types#:~:text=Suppose%20that%20you%20then%20run%20npx%20prisma%20migrate%20deploy%20to%20deploy%20your%20database%20changes%20and%20regenerate%20your%20Prisma%20Client%20with%20npx%20prisma%20generate.%20Then%2C%20you%20run%20the%20following%20application%20code

The composite types guide is only for mongodb.

it is said to run npx prisma migrate deploy and there's a link. the linked page starts with "this is not supported on MongoDB"

should be npx prisma db push and a different link.

@chiptus chiptus added the docs Documentation creation, updates or corrections label Sep 26, 2024
@nikolasburk
Copy link
Member

Hey @chiptus, nice catch! Thanks a lot, this has been fixed via: #6306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation creation, updates or corrections
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants