updated login/signup form to shadcn

This commit is contained in:
2025-07-10 09:39:49 -04:00
parent 5143be1a67
commit 14cbbccd3a
13 changed files with 298 additions and 18 deletions

View File

@@ -28,16 +28,31 @@ model Event {
id String @id @default(cuid())
name String
date DateTime?
location String?
location Location? @relation(fields: [locationid], references: [id])
locationid String?
creator User @relation("EventCreator", fields: [creatorId], references: [id])
creatorId String
guests Guest[]
eventGuests EventGuest[]
notes String?
todos EventTodo[]
todos EventTodo[]
createdAt DateTime @default(now())
}
model Location {
id String @id @default(cuid())
name String
address String
city String
state String
postalCode String
country String @default("United States")
phone String?
email String?
Event Event[]
}
model Guest {
id String @id @default(cuid())
event Event @relation(fields: [eventId], references: [id])