chore: improve db indexes with segmentId index (#2192)

This commit is contained in:
Matti Nannt
2024-03-05 15:23:08 +01:00
committed by GitHub
parent 09974e1a10
commit a873974f0d
5 changed files with 5 additions and 4 deletions
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "Survey_segmentId_idx" ON "Survey"("segmentId");
+1
View File
@@ -313,6 +313,7 @@ model Survey {
displayPercentage Int?
@@index([environmentId])
@@index([segmentId])
}
enum ActionType {