@campus-labs/prisma-client 0.4.1 → 0.4.3
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 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -117,6 +117,7 @@ model initiatives {
|
|
|
117
117
|
deleted_at DateTime? @db.Timestamp(6)
|
|
118
118
|
location Json?
|
|
119
119
|
isPresential Boolean
|
|
120
|
+
volunteers_allowed Boolean @default(false)
|
|
120
121
|
badges badges[]
|
|
121
122
|
badges_instances badges_instances[]
|
|
122
123
|
initiative_invitations initiative_invitations[]
|
|
@@ -214,7 +215,7 @@ model soft_skill_instance {
|
|
|
214
215
|
img_inactive Json
|
|
215
216
|
description String @db.VarChar(1000)
|
|
216
217
|
points Int
|
|
217
|
-
status String @default("
|
|
218
|
+
status String @default("APPROVED") @db.VarChar(20)
|
|
218
219
|
votes Int @default(0)
|
|
219
220
|
soft_skill_id Int?
|
|
220
221
|
initiative_id Int?
|
|
@@ -289,8 +290,10 @@ model users {
|
|
|
289
290
|
is_initiatives_private Boolean @default(false)
|
|
290
291
|
is_verified Boolean @default(false)
|
|
291
292
|
is_onboarding_done Boolean @default(false)
|
|
293
|
+
is_softskill_onboarding_done Boolean @default(false)
|
|
294
|
+
is_give_badge_onboarding_done Boolean @default(false)
|
|
292
295
|
role_platform_id Int @default(2)
|
|
293
|
-
is_notifications_active Boolean @default(
|
|
296
|
+
is_notifications_active Boolean @default(false)
|
|
294
297
|
is_email_active Boolean @default(true)
|
|
295
298
|
created_at DateTime @default(now()) @db.Timestamp(6)
|
|
296
299
|
updated_at DateTime @default(now()) @db.Timestamp(6)
|