@campus-labs/prisma-client 0.12.5 → 0.12.6

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": "@campus-labs/prisma-client",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -130,7 +130,7 @@ model initiatives {
130
130
  location Json?
131
131
  isPresential Boolean
132
132
  volunteers_allowed Boolean @default(false)
133
- project_id Int
133
+ project_id Int?
134
134
  badges badges[]
135
135
  badges_instances badges_instances[]
136
136
  initiative_invitations initiative_invitations[]
@@ -649,5 +649,7 @@ model snapshots {
649
649
  updated_at DateTime @default(now()) @db.Timestamp(6)
650
650
  deleted_at DateTime? @db.Timestamp(6)
651
651
 
652
+ projects projects @relation(fields: [project_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
653
+
652
654
  @@index([project_id], map: "idx_snapshots_project")
653
655
  }