@campus-labs/prisma-client 0.4.0 → 0.4.2
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 +4 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -71,7 +71,8 @@ model evidences {
|
|
|
71
71
|
id Int @id @default(autoincrement())
|
|
72
72
|
user_id String @db.VarChar(50)
|
|
73
73
|
badge_instance_id Int?
|
|
74
|
-
|
|
74
|
+
notes String? @db.VarChar(500)
|
|
75
|
+
evidence Json?
|
|
75
76
|
created_at DateTime @default(now()) @db.Timestamp(6)
|
|
76
77
|
updated_at DateTime @default(now()) @db.Timestamp(6)
|
|
77
78
|
deleted_at DateTime? @db.Timestamp(6)
|
|
@@ -116,6 +117,7 @@ model initiatives {
|
|
|
116
117
|
deleted_at DateTime? @db.Timestamp(6)
|
|
117
118
|
location Json?
|
|
118
119
|
isPresential Boolean
|
|
120
|
+
volunteers_allowed Boolean @default(false)
|
|
119
121
|
badges badges[]
|
|
120
122
|
badges_instances badges_instances[]
|
|
121
123
|
initiative_invitations initiative_invitations[]
|
|
@@ -289,7 +291,7 @@ model users {
|
|
|
289
291
|
is_verified Boolean @default(false)
|
|
290
292
|
is_onboarding_done Boolean @default(false)
|
|
291
293
|
role_platform_id Int @default(2)
|
|
292
|
-
is_notifications_active Boolean @default(
|
|
294
|
+
is_notifications_active Boolean @default(false)
|
|
293
295
|
is_email_active Boolean @default(true)
|
|
294
296
|
created_at DateTime @default(now()) @db.Timestamp(6)
|
|
295
297
|
updated_at DateTime @default(now()) @db.Timestamp(6)
|