Repair mortgage grants orphaned by the LOS to MLOS rename

FixInitializerService
Shipped
August 8, 2026 at 8:56 PM UTC
Author
Kamo
Commit
11bc9d9

ServiceType is persisted in two places and the 2026-08-08 rename only accounted for one. ORG_FEATURES.FEATURE_TYPE stores the numeric id, so keeping mortgage at 14 preserved every row there — that reasoning is in the rename commit and it is correct. But **************** .SERVICE_TYPE is @Enumerated(STRING) in a VARCHAR(40), so it stores the NAME. Every security model that granted mortgage holds the string "LOS", which now resolves to personal loans, and MLOS holds nothing — mortgage cannot be granted by any model at all. The runner rewrites those rows, dropping any that would collide with an MLOS row created after the rename. The blanket rewrite is safe because LOS-as-personal-loans is one day old and no legitimate personal-loan grant can predate it. The seeders now read the app catalog rather than the enum, so the plan matrix and the account Apps tab agree about which apps exist and what they are called.

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