Overview85 ModelsWorkflowsERD & Schema

End-to-End Markefin Relational Workflows

Live multi-table db.orm.public.*.include(...) single-statement SQL joins hydrated via Prisma 8 RC across Strategy, Programs, BOMs, DAM, Zernio Ads, Budget Ledgers, and Events.

1. Strategy → TargetRollup → Program → BOM → DAM → Ad/Social Delivery

Follows Objective, KR, Initiative, KPI, TargetRollup, Program, BOM, BOMAsset, Asset, Ad, SocialPost, AdDelivery, MetricSnapshot & Lead.

Inspect TargetRollup →

2. BudgetEnvelope Hierarchy → BudgetTransaction Ledger → PurchaseRequest & Spend

Exact DECIMAL(18,2) (pg/numeric@1) currency precision across envelopes, transfers, PR line items, suppliers, and PO/SOW documents.

Inspect Ledger →
FY26 Global Marketing Master Envelope
Global Marketing · Root Envelope
Planned
$1,500,000.00
Released
$1,200,000.00
Committed
$520,000.00
Actual
$310,000.00
FY26 APAC Field & Events Envelope
Field & Events Marketing · Parent: FY26 Global Marketing Master Envelope
Planned
$400,000.00
Released
$350,000.00
Committed
$138,500.00
Actual
$82,000.00
FY26 Paid Media & Demand Envelope
Demand Generation & Paid Media · Parent: FY26 Global Marketing Master Envelope
Planned
$450,000.00
Released
$300,000.00
Committed
$110,000.00
Actual
$68,000.00

3. Event → Venue → Location → FloorPlan, Equipment, Agenda & CFP

Complete 14-model Events subgraph hydrated from Prisma Postgres in one nested Prisma 8 query.

Inspect Events →