Prisma 8 Metadata · Interactive 3D Schema
Markefin 3D Prisma ERD Explorer
Live 85-model, 200-relation schema derived directly from prisma/contract/contract.json and lib/model-registry.ts across 11 domain modules.
100%
Showing all 85 models · 200 FK edges · 8 self-loops
Z-Depth: Hubs (L0) → Domain (L1) → Dependent (L2) → Standalone (L3)Drag to pan · Scroll to zoom · Click to focus · Double-click to isolate 1-hop
Team.ownerId to User (1:N)Team.parentTeamId to Team (1:N)User.teamId to Team (1:N)UserRole.roleId to Role (1:N)UserRole.teamId to Team (1:N)UserRole.userId to User (1:N)Permission.roleId to Role (1:N)LeadForm.connectionId to Connection (1:N)LeadForm.workspaceId to Workspace (1:N)Lead.adId to Ad (1:N)Lead.leadFormId to LeadForm (1:N)MetricSnapshot.adId to Ad (1:N)BOMTemplate.ownerId to User (1:N)BOM.initiativeId to Initiative (1:N)BOM.ownerId to User (1:N)BOM.attachmentId to Attachment (1:N)BOM.programId to Program (1:N)BOMAsset.adId to Ad (1:N)BOMAsset.assetId to Asset (1:N)BOMAsset.bomId to BOM (1:N)BOMAsset.eventId to Event (1:N)BOMAsset.hubspotCampaignId to HubspotCampaign (1:N)BOMAsset.ownerId to User (1:N)BOMAsset.sfdcCampaignId to SalesforceCampaign (1:N)BOMAsset.postId to SocialPost (1:N)BOMAsset.taxonomyId to Taxonomy (1:N)BOMTemplateProgramType.bomTemplateId to BOMTemplate (1:N)BOMTemplateProgramType.typeCode to ProgramType (1:N)PostDelivery.postId to SocialPost (1:1)AdDelivery.adId to Ad (1:1)AdDelivery.adAccountId to AdAccount (1:N)AdDeliveryRequest.adId to Ad (1:1)AdDeliveryRequest.submittedByUserId to User (1:N)PostDeliveryRequest.postId to SocialPost (1:1)PostDeliveryRequest.submittedByUserId to User (1:N)BudgetEnvelope.ownerId to User (1:N)BudgetEnvelope.parentEnvelopeId to BudgetEnvelope (1:N)BudgetEnvelope.teamId to Team (1:N)BudgetTransaction.budgetEnvelopeId to BudgetEnvelope (1:N)BudgetTransaction.budgetRequestId to BudgetRequest (1:N)BudgetTransaction.counterpartyEnvelopeId to BudgetEnvelope (1:N)BudgetTransaction.ownerId to User (1:N)BudgetTransaction.purchaseRequestId to PurchaseRequest (1:N)BudgetRequest.ownerId to User (1:N)BudgetRequest.requestingEnvelopeId to BudgetEnvelope (1:N)SalesforceCampaign.ownerId to User (1:N)SalesforceCampaign.parentCampaignId to SalesforceCampaign (1:N)SalesforceCampaign.programId to Program (1:N)HubspotCampaign.programId to Program (1:N)Taxonomy.createdByUserId to User (1:N)Taxonomy.parentTaxonomyId to Taxonomy (1:N)Asset.createdByUserId to User (1:N)Asset.ownerUserId to User (1:N)Asset.teamOwnershipId to Team (1:N)AssetVersion.assetId to Asset (1:N)AssetVersion.uploadedByUserId to User (1:N)AssetTaxonomyAssignment.assetId to Asset (1:N)AssetTaxonomyAssignment.createdByUserId to User (1:N)AssetTaxonomyAssignment.taxonomyId to Taxonomy (1:N)Facet.createdByUserId to User (1:N)FacetValue.createdByUserId to User (1:N)FacetValue.facetId to Facet (1:N)FacetValue.parentFacetValueId to FacetValue (1:N)AssetFacetValue.assetId to Asset (1:N)AssetFacetValue.createdByUserId to User (1:N)AssetFacetValue.facetValueId to FacetValue (1:N)WorkflowSetting.updatedByUserId to User (1:N)Collection.bomId to BOM (1:1)Collection.createdByUserId to User (1:N)Collection.teamOwnershipId to Team (1:N)CollectionAsset.assetId to Asset (1:N)CollectionAsset.collectionId to Collection (1:N)CollectionAsset.createdByUserId to User (1:N)AssetApproval.approvedByUserId to User (1:N)AssetApproval.assetId to Asset (1:N)ProductTaxonomy.createdByUserId to User (1:N)ProductTaxonomy.parentProductTaxonomyId to ProductTaxonomy (1:N)AssetProductTaxonomyAssignment.assetId to Asset (1:N)AssetProductTaxonomyAssignment.createdByUserId to User (1:N)AssetProductTaxonomyAssignment.productTaxonomyId to ProductTaxonomy (1:N)SocialPostContentSet.createdByUserId to User (1:N)SocialPostContentSet.ownerId to User (1:N)SocialPostContentSet.teamId to Team (1:N)SocialPost.assetId to Asset (1:1)SocialPost.contentSetId to SocialPostContentSet (1:N)SocialPost.createdByUserId to User (1:N)SocialPost.offeringCode to MarkefinAdAndSocialOffering (1:N)SocialPost.ownerId to User (1:N)SocialPost.socialIntegrationId to SocialIntegration (1:N)SocialPost.teamId to Team (1:N)PaidSocialAdContentSet.leadGenFormId to LeadForm (1:N)PaidSocialAdContentSet.ownerId to User (1:N)PaidSocialAdContentSet.teamId to Team (1:N)SearchAdContentSet.ownerId to User (1:N)SearchAdContentSet.teamId to Team (1:N)DisplayAdContentSet.ownerId to User (1:N)DisplayAdContentSet.teamId to Team (1:N)ConversationalAdContentSet.ownerId to User (1:N)ConversationalAdContentSet.teamId to Team (1:N)Ad.assetId to Asset (1:1)Ad.boostedPostId to SocialPost (1:N)Ad.conversationalContentSetId to ConversationalAdContentSet (1:N)Ad.displayContentSetId to DisplayAdContentSet (1:N)Ad.offeringCode to MarkefinAdAndSocialOffering (1:N)Ad.ownerId to User (1:N)Ad.paidSocialContentSetId to PaidSocialAdContentSet (1:N)Ad.searchContentSetId to SearchAdContentSet (1:N)Ad.teamId to Team (1:N)Event.createdByUserId to User (1:N)Event.ownerId to User (1:N)Event.programId to Program (1:1)Venue.createdByUserId to User (1:N)Venue.eventId to Event (1:N)Track.createdByUserId to User (1:N)Track.eventId to Event (1:N)Talk.createdByUserId to User (1:N)Talk.eventId to Event (1:N)Talk.locationId to Location (1:N)Talk.trackId to Track (1:N)LocationAssignment.createdByUserId to User (1:N)LocationAssignment.eventId to Event (1:N)LocationAssignment.locationId to Location (1:N)LocationAssignment.trackId to Track (1:N)CFPForm.createdByUserId to User (1:N)CFPForm.eventId to Event (1:N)Location.createdByUserId to User (1:N)Location.venueId to Venue (1:N)Equipment.createdByUserId to User (1:N)Equipment.locationId to Location (1:N)DutyPersonnel.createdByUserId to User (1:N)DutyPersonnel.locationId to Location (1:N)FloorPlan.createdByUserId to User (1:N)FloorPlan.locationId to Location (1:1)Speaker.createdByUserId to User (1:N)CFPSubmission.cfpFormId to CFPForm (1:N)CFPSubmission.createdByUserId to User (1:N)FPObject.createdByUserId to User (1:N)FPObject.floorPlanId to FloorPlan (1:N)FPWall.createdByUserId to User (1:N)FPWall.floorPlanId to FloorPlan (1:N)Program.country to Country (1:N)Program.ownerId to User (1:N)Program.subTypeCode to ProgramSubType (1:N)Program.typeCode to ProgramType (1:N)Program.teamId to Team (1:N)ProgramTarget.ownerId to User (1:N)ProgramTarget.programId to Program (1:N)Attachment.bomId to BOM (1:N)Attachment.objectiveId to Objective (1:N)Attachment.ownerId to User (1:N)Attachment.programId to Program (1:N)ProgramSubType.typeCode to ProgramType (1:N)SpendCategory.ownerId to User (1:N)SpendCategory.parentCategoryId to SpendCategory (1:N)SubRegion.regionCode to Region (1:N)Country.subRegionCode to SubRegion (1:N)InitiativeSubType.typeCode to InitiativeType (1:N)Workspace.ownerId to User (1:N)Connection.offeringCode to MarkefinAdAndSocialOffering (1:N)Connection.workspaceId to Workspace (1:N)AdAccount.connectionId to Connection (1:N)SocialIntegration.createdByUserId to User (1:N)SocialIntegration.offeringCode to MarkefinAdAndSocialOffering (1:N)Spend.bomAssetId to BOMAsset (1:1)Spend.initiativeId to Initiative (1:1)Spend.ownerId to User (1:N)Spend.programId to Program (1:1)SpendForecast.ownerId to User (1:N)SpendForecast.spendId to Spend (1:N)PurchaseRequest.ownerId to User (1:N)PurchaseRequest.spendId to Spend (1:N)PurchaseRequest.spendCategoryId to SpendCategory (1:N)PurchaseRequest.supplierId to Supplier (1:N)PurchaseRequest.teamId to Team (1:N)PurchaseRequestLineItem.ownerId to User (1:N)PurchaseRequestLineItem.purchaseRequestId to PurchaseRequest (1:N)PurchaseRequestLineItem.spendCategoryId to SpendCategory (1:N)PurchaseRequestAllocation.lineItemId to PurchaseRequestLineItem (1:N)PurchaseRequestAllocation.ownerId to User (1:N)PurchaseRequestAllocation.purchaseRequestId to PurchaseRequest (1:N)ProcurementDocument.ownerId to User (1:N)ProcurementDocument.purchaseRequestId to PurchaseRequest (1:N)Supplier.ownerId to User (1:N)TargetRollup.initiativeId to Initiative (1:N)TargetRollup.kpiId to KPI (1:N)TargetRollup.krId to KR (1:N)TargetRollup.objectiveId to Objective (1:N)TargetRollup.ownerId to User (1:N)TargetRollup.parentTargetId to TargetRollup (1:N)TargetRollup.programId to Program (1:N)TargetRollup.programTargetId to ProgramTarget (1:N)Objective.ownerId to User (1:N)KR.objectiveId to Objective (1:N)KR.ownerId to User (1:N)KPI.initiativeId to Initiative (1:N)KPI.ownerId to User (1:N)Initiative.initiativeSubType to InitiativeSubType (1:N)Initiative.initiativeType to InitiativeType (1:N)Initiative.objectiveId to Objective (1:N)Initiative.ownerId to User (1:N)