CompanyCreditInventoryAddThroughProductPurchaseLogs


Columns

Column Type Size Nulls Auto Default Children Parents Comments
companyCreditInventoryLogId uuid 2147483647 null
CompanyCreditInventoryLogs.id CompanyCreditInventoryAddThro_companyCreditInventoryLogId_fkey1 C
creditProductPurchaseOrderId uuid 2147483647 null
CreditProductPurchaseOrders.id CompanyCreditInventoryAddThro_creditProductPurchaseOrderId_fkey R
offlineSalesTransactionId uuid 2147483647 null
OfflineSalesTransactions.id CompanyCreditInventoryAddThrough_offlineSalesTransactionId_fkey R

Indexes

Constraint Name Type Sort Column(s)
CompanyCreditInventoryAddThroughProductPurchaseLogs_pkey Primary key Asc companyCreditInventoryLogId

Check Constraints

Constraint Name Constraint
CompanyCreditInventoryAddThroughProductPurchaseLogs_creditProdu ((("creditProductPurchaseOrderId" IS NOT NULL) OR ("offlineSalesTransactionId" IS NOT NULL)))

Relationships