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
|
//user auth and session management
|
||||||
model User {
|
model User {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String?
|
name String?
|
||||||
email String? @unique
|
email String? @unique
|
||||||
emailVerified DateTime?
|
emailVerified DateTime?
|
||||||
image String?
|
image String?
|
||||||
accounts Account[]
|
accounts Account[]
|
||||||
sessions Session[]
|
sessions Session[]
|
||||||
|
passwordHashLocalAccount String? // New field to store the hashed password
|
||||||
|
|
||||||
// Optional relation to Publisher
|
// Optional relation to Publisher
|
||||||
publisherId String? @unique
|
publisherId String? @unique
|
||||||
|
Reference in New Issue
Block a user