@trycompai/db 1.3.12 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.prisma +2 -0
- package/package.json +1 -1
package/dist/schema.prisma
CHANGED
|
@@ -210,12 +210,14 @@ model EvidenceAutomationRun {
|
|
|
210
210
|
// Metadata
|
|
211
211
|
triggeredBy EvidenceAutomationTrigger @default(scheduled)
|
|
212
212
|
runDuration Int? // in milliseconds
|
|
213
|
+
version Int? // Version number that was executed (null = draft)
|
|
213
214
|
Task Task? @relation(fields: [taskId], references: [id])
|
|
214
215
|
taskId String?
|
|
215
216
|
|
|
216
217
|
@@index([evidenceAutomationId])
|
|
217
218
|
@@index([status])
|
|
218
219
|
@@index([createdAt])
|
|
220
|
+
@@index([version])
|
|
219
221
|
}
|
|
220
222
|
|
|
221
223
|
enum EvidenceAutomationRunStatus {
|