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

Remove shadowDatabaseUrl from Prisma now That Vercel Improved Migrations Handling #69

Open
MarioGiancini opened this issue Oct 1, 2023 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@MarioGiancini
Copy link

Overview

When doing a second migration with prisma, you are presented with Error: P3005:

Error: P3005

The database schema is not empty. Read more about how to baseline an existing production database: https://pris.ly/d/migrate-baseline

Removing the shadowDatabaseUrl from the schema.prisma datasource fixes this.

With latest updates from Vercel, we no longer need the shadowDatabaseUrl to handle migrations.

See: prisma/prisma#19234 (comment)

@maige-app maige-app bot added bug Something isn't working documentation Improvements or additions to documentation labels Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant