mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-13 17:21:53 +00:00
Create User Login/Logout
Took 3 hours 40 minutes
This commit is contained in:
@@ -10,12 +10,12 @@ datasource db {
|
||||
|
||||
// Models
|
||||
model User {
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
email String @unique
|
||||
password String?
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
email String @unique
|
||||
password String
|
||||
firstName String
|
||||
lastName String
|
||||
role Role @default(USER)
|
||||
role Role @default(USER)
|
||||
|
||||
Chat Chat? @relation(fields: [chatId], references: [id])
|
||||
chatId String? @db.ObjectId
|
||||
|
||||
Reference in New Issue
Block a user