db support
This commit is contained in:
3
prisma/migrations/20240429133812_/migration.sql
Normal file
3
prisma/migrations/20240429133812_/migration.sql
Normal file
@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `User`
|
||||
ADD COLUMN `passwordHashLocalAccount` VARCHAR(191) NULL;
|
@ -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
|
||||
|
Reference in New Issue
Block a user