feat(calendar): single Default personal with guards and backfill
CI / test (push) Failing after 7m22s
CI / deploy-ift (push) Has been skipped
CI / e2e-ift (push) Has been skipped
CI / deploy-stage (push) Has been skipped
CI / e2e-stage (push) Has been skipped

Ensure title Default; reject second personal and delete/type-change of
the sole personal; migrate extras to commercial or soft-delete.

Refs EventHub/EventHubBack#64
This commit is contained in:
2026-07-30 22:07:15 +03:00
parent bb37909ffb
commit 10464de3ec
5 changed files with 157 additions and 45 deletions
@@ -0,0 +1,11 @@
%% @doc Backfill: ≤1 personal per owner, title Default; extras → commercial | delete.
-module('20260730200000_single_default_personal').
-export([up/0, down/0]).
up() ->
logic_calendar:backfill_single_personal(),
ok.
down() ->
ok.