KamoCRM

Hash-chain LoanPipelineMilestone rows for tamper detection

Featurekamo-shared-library
Shipped
15 மே, 2026 அன்று 9:44 PM UTC
Author
Kamo
Commit
d55908f

LoanPipelineMilestone gains PREVIOUS_MILESTONE_SHA256. On every transition, LoanPipelineService computes the SHA-256 of the previous milestone's canonical form **************** and stores it on the new row. Mutating any earlier row in the DB changes its hash → breaks the chain from that point forward. DTO surfaces the new field so the timeline UI can show the link.

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