One shared calendar per org, one primary per member

FeatureInitializerService
Shipped
August 26, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing