mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 01:48:32 +02:00
Format prisma schema
This commit is contained in:
parent
17dc1ec013
commit
78b4ce3eb9
1 changed files with 25 additions and 25 deletions
|
@ -199,7 +199,7 @@ model Participant {
|
||||||
|
|
||||||
model Option {
|
model Option {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
startTime DateTime @db.Timestamp(0) @map("start_time")
|
startTime DateTime @map("start_time") @db.Timestamp(0)
|
||||||
duration Int @default(0) @map("duration_minutes")
|
duration Int @default(0) @map("duration_minutes")
|
||||||
pollId String @map("poll_id")
|
pollId String @map("poll_id")
|
||||||
poll Poll @relation(fields: [pollId], references: [id])
|
poll Poll @relation(fields: [pollId], references: [id])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue