Skip to content

Commit

Permalink
feat: last missing params added
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussinSa committed Feb 9, 2024
1 parent 1d6656d commit f161c95
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ model User {
availabilityId String?
MeetingUserAvailability MeetingUserAvailability[]
Key Key[]
Session Session[]
}

model Key {
Expand All @@ -38,11 +39,13 @@ model Key {
}

model Session {
id String @id @unique @default(cuid())
user_id String? @unique @default(uuid())
active_expires Int?
idle_expires Int?
last_accessed Int?
id String @id @unique
user_id String
active_expires BigInt
idle_expires BigInt
user User @relation(references: [id], fields: [user_id], onDelete: Cascade)
@@index([user_id])
}

model Meeting {
Expand Down

0 comments on commit f161c95

Please sign in to comment.