KamoCRM

One shared calendar per org, one primary per member

FeatureInitializerService
Shipped
26 ஆகஸ்ட், 2026 அன்று 11:20 PM UTC
Author
Kamo
Commit
3b29992

Provisioning had nothing underneath it, so two simultaneous first loads both inserted. Collapses what that already made — twenty duplicate rows across seven organisations and thirteen memberships, oldest wins, losers deactivated rather than deleted and anything pointing at one re-pointed first — then adds the partial unique index per calendar kind that makes a second row impossible. Partial because the invariant is on the PROVISIONED calendars: a plain unique index on the organisation would forbid a member's own, and one on the membership would forbid the extra calendars a member is free to create.

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