@campus-labs/prisma-client 0.2.1 → 0.2.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 +2 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -295,6 +295,7 @@ model users {
|
|
|
295
295
|
deleted_at DateTime? @db.Timestamp(6)
|
|
296
296
|
notification_tokens String[] @db.VarChar(5000)
|
|
297
297
|
points Int @default(0)
|
|
298
|
+
ua_iupi String @db.VarChar(50) @unique
|
|
298
299
|
badges_instances badges_instances[]
|
|
299
300
|
evidences evidences[]
|
|
300
301
|
initiative_invitations_initiative_invitations_invitee_idTousers initiative_invitations[] @relation("initiative_invitations_invitee_idTousers")
|
|
@@ -329,7 +330,7 @@ model user_to_user {
|
|
|
329
330
|
model user_initiative {
|
|
330
331
|
user_id String @default("1") @db.VarChar(50) // Default user for testing (depois colocar o id do nea, para se o administrador da iniciativa for apagado, atribui direto ao nea)
|
|
331
332
|
initiative_id Int
|
|
332
|
-
role_initiative_id Int @default(
|
|
333
|
+
role_initiative_id Int @default(3)
|
|
333
334
|
is_creator Boolean @default(false)
|
|
334
335
|
created_at DateTime @default(now()) @db.Timestamp(6)
|
|
335
336
|
updated_at DateTime @default(now()) @db.Timestamp(6)
|