Migration for the commission ledger and Stripe payout tables

FeatureInitializerService
Shipped
August 7, 2026 at 1:13 AM UTC
Author
Kamo
Commit
4c7b298

Mirrors com.kamo.z.shared.commission. ddl-auto would create these from the annotations anyway; the explicit DDL is the house convention and is what makes the shape reviewable in one place rather than across a dozen entity classes. COMMISSION_STRIPE_WEBHOOK_EVENT is keyed on (ORG_ID, STRIPE_EVENT_ID), not on the event id alone. Every organization runs its own Stripe Connect platform, so event ids only have to be unique within one account - LOAN_STRIPE_WEBHOOK_EVENTS keys on the bare id and is safe only because that feature has a single Stripe account. Applied against prod; all nine tables and every unique guard verified present.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing