-
QuestionHi, How to reproduce (optional)Take the following migration for example: In another table with an optional relation to Questions:
Thanks in advance! Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)// Add your schema.prisma// Add any relevant Prisma Client queries here
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No, I don't think we have a bug report issue for this. Can you open one, optimally, with a reproduction repository that we can use to try this out?
From a quick look the problem seems to be the combination of the referential action and the generated migration SQL. Maybe the migration could disable the referential actions? Or we could temporarily change it for the migration? Something along those lines probably. |
Beta Was this translation helpful? Give feedback.
No, I don't think we have a bug report issue for this.
Can you open one, optimally, with a reproduction repository that we can use to try this out?
From a quick look the problem seems to be the combination of the referential action and the generated migration SQL. Maybe the migration could disable the referential actions? Or we could temporarily change it for the migration? Something along those lines probably.