AfterCompanyProductSubscriptionPurchaseNotifications


Columns

Column Type Size Nulls Auto Default Children Parents Comments
NotificationId uuid 2147483647 null
Notifications.id AfterCompanyProductSubscriptionPurchaseNoti_NotificationId_fkey C
creditPurchaseOrderId uuid 2147483647 null
CreditPurchaseOrders.id AfterCompanyProductSubscriptionPurch_creditPurchaseOrderId_fkey C
companyProductSubscriptionId uuid 2147483647 null
CompanyProductSubscriptions.id AfterCompanyProductSubscripti_companyProductSubscriptionId_fkey C
periodType "employer_purchases"."enum_AfterCompanyProductSubscriptionPurchaseNotifications_perio" 2147483647 null

period_type field in RevenueCat event object

eventType "employer_purchases"."enum_AfterCompanyProductSubscriptionPurchaseNotifications_event" 2147483647 null

type field in RevenueCat event object

createdAt timestamptz 35,6 now()
updatedAt timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
AfterCompanyProductSubscriptionPurchaseNotifications_pkey Primary key Asc NotificationId
companyProductSubscriptionId_eventType_unique_idx Must be unique Asc/Asc companyProductSubscriptionId + eventType

Relationships