KamoCRM

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

FeatureInitializerService
Shipped
26 ஜூன், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing