feat: add name in webhook model db in prisme

This commit is contained in:
ShubhamPalriwala
2023-08-08 19:41:52 +05:30
parent e3c09ebec3
commit cd1d9196fc
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Webhook" ADD COLUMN "name" TEXT;

View File

@@ -30,6 +30,7 @@ enum PipelineTriggers {
model Webhook {
id String @id @default(cuid())
name String?
createdAt DateTime @default(now()) @map(name: "created_at")
updatedAt DateTime @updatedAt @map(name: "updated_at")
url String