public booking flow: /book browse → magic-link signup → confirm
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ALTER COLUMN "name" DROP NOT NULL;
|
||||
@@ -24,7 +24,7 @@ model User {
|
||||
id String @id @default(cuid())
|
||||
email String @unique
|
||||
emailVerified DateTime? @db.Timestamptz(3)
|
||||
name String
|
||||
name String? // Nullable — Auth.js magic-link signup creates users without a name; captured later at first booking
|
||||
image String? // Auth.js convention; unused for now but adapter expects it
|
||||
phone String?
|
||||
role Role @default(CUSTOMER)
|
||||
|
||||
Reference in New Issue
Block a user