Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Error querying the database: foreign key mismatch #537

Closed
tkinte opened this issue Jul 31, 2020 · 1 comment
Closed

Error querying the database: foreign key mismatch #537

tkinte opened this issue Jul 31, 2020 · 1 comment
Labels
bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. status/needs-action Issue has no activity for a long time, needs some action. team/migrations Issue for team Migrations.

Comments

@tkinte
Copy link

tkinte commented Jul 31, 2020

https://prisma-errors.netlify.app/report/9649

@divyenduz divyenduz changed the title report id 9649 Error querying the database: foreign key mismatch Jul 31, 2020
@divyenduz divyenduz transferred this issue from prisma/prisma Jul 31, 2020
@divyenduz divyenduz added bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. labels Jul 31, 2020
@github-actions github-actions bot added the status/needs-action Issue has no activity for a long time, needs some action. label Oct 7, 2020
@albertoperdomo albertoperdomo added the team/migrations Issue for team Migrations. label Nov 25, 2020
@tomhoule
Copy link
Contributor

This is caused by type mismatches in the referencing and referenced sides of a foreign key relation. This will be addressed by prisma/prisma#4330

Thanks for reporting the crash!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. status/needs-action Issue has no activity for a long time, needs some action. team/migrations Issue for team Migrations.
Projects
None yet
Development

No branches or pull requests

4 participants