Skip to content
Discussion options

You must be logged in to vote

@saihaj 👋

Currently we don't recommend using prisma migrate on Planetscale. Also it seems that you are using foreign keys and Planetscale doesn't support that. The way to tell migrate not to create foreign keys is adding the referentialIntegrity preview feature and using referentialIntegrity = "prisma" in the datasource that you can read about here.

The best way to go for now is using db push when using PlanetScale and not using foreign keys.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by saihaj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants