@bslau/hmm_prisma_schema 1.1.10 → 1.1.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bslau/hmm_prisma_schema",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "main": "index.js",
5
5
  "author": "CIPA Development Team",
6
6
  "license": "ISC",
@@ -201,13 +201,13 @@ model TorpedoLocation {
201
201
  }
202
202
 
203
203
  model TorpedoComment {
204
- id Int @id @default(autoincrement())
205
- torpedo Torpedo @relation(fields: [torpedoId], references: [id])
206
- torpedoId Int
207
- comment String
208
- createdAt DateTime @default(now())
209
- savedDateTime DateTime? @db.DateTimeOffset
210
- clearedDateTime DateTime? @db.DateTimeOffset
204
+ id Int @id @default(autoincrement())
205
+ torpedo Torpedo @relation(fields: [torpedoId], references: [torpedoId], onDelete: NoAction, onUpdate: Cascade)
206
+ torpedoId Int
207
+ comment String
208
+ isCleared Boolean @default(false)
209
+ createdAt DateTime @default(now())
210
+ updatedAt DateTime @updatedAt
211
211
  }
212
212
 
213
213
  model EventTracker {