@bslau/hmm_prisma_schema 1.1.11 → 1.1.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/package.json +1 -1
- package/prisma/schema.prisma +5 -5
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -201,13 +201,13 @@ model TorpedoLocation {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
model TorpedoComment {
|
|
204
|
-
id Int
|
|
205
|
-
torpedo Torpedo
|
|
204
|
+
id Int @id @default(autoincrement())
|
|
205
|
+
torpedo Torpedo @relation(fields: [torpedoId], references: [torpedoId], onDelete: NoAction, onUpdate: Cascade)
|
|
206
206
|
torpedoId Int
|
|
207
207
|
comment String
|
|
208
|
-
isCleared Boolean
|
|
209
|
-
createdAt DateTime
|
|
210
|
-
updatedAt DateTime @updatedAt
|
|
208
|
+
isCleared Boolean @default(false)
|
|
209
|
+
createdAt DateTime @default(now())
|
|
210
|
+
updatedAt DateTime? @updatedAt
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
model EventTracker {
|