fix: makes prisma.schema auto-generate uuids instead of having to pass them

fix/webhooks-auto-uuid
Agusti Fernandez Pardo 2022-05-27 19:21:59 +02:00
parent 445cdd7cbf
commit b21ba158af
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ enum WebhookTriggerEvents {
}
model Webhook {
id String @id @unique
id String @unique @default(uuid()) @db.Uuid
userId Int?
eventTypeId Int?
subscriberUrl String