Schema Overview
The core database tables include:workspaces: Multi-tenant organization configs and reporting currencies.provider_accounts: Gateway connection records and webhook secrets.unified_products: Aggregated cross-channel products.transactions: Immutable financial ledger records.cohort_vintages: Pre-calculated retention and LTV matrices.milestone_snapshots: Cryptographically signed milestone records.