db support

This commit is contained in:
Dobromir Popov
2024-04-29 22:24:44 +03:00
parent b9f635e570
commit 1e47ba669a
2 changed files with 11 additions and 7 deletions

View File

@ -278,13 +278,14 @@ model EventLog {
//user auth and session management
model User {
id String @id @default(cuid())
name String?
email String? @unique
emailVerified DateTime?
image String?
accounts Account[]
sessions Session[]
id String @id @default(cuid())
name String?
email String? @unique
emailVerified DateTime?
image String?
accounts Account[]
sessions Session[]
passwordHashLocalAccount String? // New field to store the hashed password
// Optional relation to Publisher
publisherId String? @unique