2
0

perf(db): ️ Optimize delete all results query

This commit is contained in:
Baptiste Arnaud
2022-06-24 11:12:01 +02:00
parent fdf11af594
commit 64a1655f52
2 changed files with 8 additions and 0 deletions

View File

@ -243,6 +243,8 @@ model Log {
status String
description String
details String?
@@index([resultId])
}
model Answer {
@ -256,6 +258,7 @@ model Answer {
storageUsed Int?
@@unique([resultId, blockId, groupId])
@@index([resultId])
}
model Coupon {