mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-09 08:09:46 -06:00
fix: remove failing prisma migration (#3015)
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "Display" ADD CONSTRAINT "Display_responseId_fkey" FOREIGN KEY ("responseId") REFERENCES "Response"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
@@ -132,7 +132,6 @@ model Response {
|
||||
// singleUseId, used to prevent multiple responses
|
||||
singleUseId String?
|
||||
language String?
|
||||
display Display?
|
||||
|
||||
@@unique([surveyId, singleUseId])
|
||||
@@index([surveyId, createdAt]) // to determine monthly response count
|
||||
@@ -200,7 +199,6 @@ model Display {
|
||||
person Person? @relation(fields: [personId], references: [id], onDelete: Cascade)
|
||||
personId String?
|
||||
responseId String? @unique
|
||||
response Response? @relation(fields: [responseId], references: [id], onDelete: Cascade)
|
||||
status DisplayStatus?
|
||||
|
||||
@@index([surveyId])
|
||||
|
||||
Reference in New Issue
Block a user