⚡ (analytics) Improve analytics graph accuracy
This commit is contained in:
@@ -255,6 +255,7 @@ model Answer {
|
||||
createdAt DateTime @default(now()) @updatedAt
|
||||
resultId String
|
||||
blockId String
|
||||
itemId String?
|
||||
groupId String
|
||||
variableId String?
|
||||
content String
|
||||
@@ -262,7 +263,7 @@ model Answer {
|
||||
result Result @relation(fields: [resultId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([resultId, blockId, groupId])
|
||||
@@index([groupId])
|
||||
@@index([blockId, itemId])
|
||||
@@index([storageUsed])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user