KamoCRM

Convert internal entity IDs from Long/unique_rowid() to UUID/gen_random_uuid()

Refactorkamo-shared-library
Shipped
20 மார்ச், 2026 அன்று 9:18 PM UTC
Author
Kamo
Commit
4ea2299

Improves CockroachDB write performance by using randomly-distributed UUIDs for internal entity primary keys instead of sequential unique_rowid() values. User-facing entities (User, Organization, Member, Account, Lead, Contact, ContactBook, Application, KbArticle, Vendor, Offering, Order, Engagement, Note, Img) retain Long/unique_rowid() for human-readable IDs. Created BaseUuidEntity for commerce entities needing UUID while BaseEntity remains Long for user-facing commerce entities.

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