@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.
@@ -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 {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trycompai/db",
3
3
  "description": "Database package with Prisma client and schema for Comp AI",
4
- "version": "1.3.12",
4
+ "version": "1.3.13",
5
5
  "dependencies": {
6
6
  "@prisma/client": "^6.13.0",
7
7
  "dotenv": "^16.4.5"