🗃️ Fix schema migration diff
This commit is contained in:
@ -225,8 +225,6 @@ model Result {
|
|||||||
logs Log[]
|
logs Log[]
|
||||||
|
|
||||||
@@index([typebotId])
|
@@index([typebotId])
|
||||||
@@index([typebotId, createdAt])
|
|
||||||
@@index([createdAt, typebotId])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
model Log {
|
model Log {
|
||||||
@ -253,7 +251,6 @@ model Answer {
|
|||||||
|
|
||||||
@@unique([resultId, blockId, groupId])
|
@@unique([resultId, blockId, groupId])
|
||||||
@@index([groupId])
|
@@index([groupId])
|
||||||
@@index([storageUsed])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
model Coupon {
|
model Coupon {
|
||||||
@ -264,6 +261,8 @@ model Coupon {
|
|||||||
|
|
||||||
model Webhook {
|
model Webhook {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
|
createdAt DateTime @default(now())
|
||||||
|
updatedAt DateTime @default(now()) @updatedAt
|
||||||
url String?
|
url String?
|
||||||
method String
|
method String
|
||||||
queryParams Json
|
queryParams Json
|
||||||
|
@ -16,7 +16,7 @@ export type KeyValue = { id: string; key?: string; value?: string }
|
|||||||
|
|
||||||
export type Webhook = Omit<
|
export type Webhook = Omit<
|
||||||
WebhookFromPrisma,
|
WebhookFromPrisma,
|
||||||
'queryParams' | 'headers' | 'method'
|
'queryParams' | 'headers' | 'method' | 'createdAt' | 'updatedAt'
|
||||||
> & {
|
> & {
|
||||||
queryParams: KeyValue[]
|
queryParams: KeyValue[]
|
||||||
headers: KeyValue[]
|
headers: KeyValue[]
|
||||||
|
Reference in New Issue
Block a user