Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
||||||
| webhookId | text | 2147483647 | null |
|
|
id field in RevenueCat event object |
|||||
| status | enum_RevenueCatWebhookLogs_status | 2147483647 | null |
|
|
||||||
| eventData | jsonb | 2147483647 | null |
|
|
The raw event data from the webhook |
|||||
| transactionId | text | 2147483647 | √ | null |
|
|
transaction_id field in RevenueCat event object |
||||
| eventType | enum_RevenueCatWebhookLogs_eventType | 2147483647 | null |
|
|
type field in RevenueCat event object |
|||||
| appId | text | 2147483647 | null |
|
|
app_id field in RevenueCat event object |
|||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
||||||
| companyId | uuid | 2147483647 | √ | null |
|
|
|||||
| failureReason | text | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| RevenueCatWebhookLogs_pkey | Primary key | Asc | id |
| RevenueCatWebhookLogs_transactionId_key | Must be unique | Asc | transactionId |
| RevenueCatWebhookLogs_webhookId_idx | Must be unique | Asc | webhookId |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| RevenueCatWebhookLogs_failureReason_nullable_check | ((((status = 'FAILED'::"enum_RevenueCatWebhookLogs_status") AND ("failureReason" IS NOT NULL)) OR ((status <> 'FAILED'::"enum_RevenueCatWebhookLogs_status") AND ("failureReason" IS NULL)))) NOT VALID |

