make name and username required

This commit is contained in:
Brandon Egger 2023-05-18 19:37:52 -05:00
parent f42febb7b3
commit 7fbee9ea9b

View File

@ -82,8 +82,8 @@ model Session {
model User {
id String @id @default(auto()) @map("_id") @db.ObjectId
name String?
username String? @unique
name String
username String @unique
password String
sessions Session[]
}