mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
✨ Allow participant to enter email to receive edit link (#534)
This commit is contained in:
parent
aab999598e
commit
0ac3c95755
20 changed files with 230 additions and 81 deletions
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "participants" ADD COLUMN "email" TEXT;
|
|
@ -62,6 +62,7 @@ model Poll {
|
|||
model Participant {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
email String?
|
||||
userId String? @map("user_id")
|
||||
poll Poll @relation(fields: [pollId], references: [id])
|
||||
pollId String @map("poll_id")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue