2
0

🐛 (results) Fix results still appearing when deleted

Closes #316
This commit is contained in:
Baptiste Arnaud
2023-02-13 14:28:44 +01:00
parent 0dba994210
commit 3728bca173
5 changed files with 10 additions and 36 deletions

View File

@ -250,8 +250,8 @@ model Result {
answers Answer[]
logs Log[]
@@index([typebotId, hasStarted, createdAt(sort: Desc)])
@@index([typebotId, isCompleted])
@@index([typebotId, isArchived, hasStarted, createdAt(sort: Desc)])
@@index([typebotId, isArchived, isCompleted])
}
model Log {