Partial unique indexes + servicing invariants (Phase-1 config completion)

FeatureInitializerService
Shipped
June 26, 2026 at 3:57 PM UTC
Author
Kamo
Commit
3a54b6d

SchemaCleanupRunner DDL for the new mlos.config domains (mlos.config already in @EnableJpaRepositories; Hibernate ddl-auto:update creates the tables): - one-active partial unique indexes (WHERE is_active=true AND effective_to IS NULL) on mlos_pricing_policy / mlos_capital_policy / mlos_servicing_policy (lender_profile_id) + mlos_product_enablement (lender_profile_id, program_id) — Hibernate can't emit WHERE indexes. - ServicingPolicy immutable invariants: CHECK scra_enforced=true + fdcpa_enforced=true (=-CHECKs, survive the enum-whitelist sweep).

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