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

Update schema.prisma for Prisma migration on vercel #68

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

eshlon
Copy link
Contributor

@eshlon eshlon commented Aug 25, 2023

Removed 'shadowDatabaseUrl' in prisma schema for migration on vercel. Prisma docs stated that 'shadowDatabaseUrl' shouldn't be the same as 'directUrl'; as it causes errors.

Prisma Docs:
https://www.prisma.io/docs/concepts/components/prisma-migrate/shadow-database

Potential Problem regarding migration:
prisma/prisma#19234 (comment)

Removed 'shadowDatabaseUrl' for migration on vercel. Prisma docs stated that 'shadowDatabaseUrl' shouldn't be the same as 'directUrl'; as it causes errors.

Prisma Docs:
https://www.prisma.io/docs/concepts/components/prisma-migrate/shadow-database

Potential Problem regarding migration:
prisma/prisma#19234 (comment)
@vercel
Copy link

vercel bot commented Aug 25, 2023

@eshlon is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@janpio
Copy link

janpio commented Aug 25, 2023

Can we get this merged @steven-tey? Vercel Postgres can now create the shadow database dynamically, so this property is not needed any more - and indeed leads to problems. Thanks!

@steven-tey
Copy link
Owner

Sorry, just seeing this :sad_praying_cowboy:

Merging now, thank you!

@steven-tey steven-tey merged commit 785c838 into steven-tey:main Oct 17, 2023
1 check failed
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.

None yet

3 participants