fix(reminders): deterministic tie-break in resolveSchedule on equal effective_from
ORDER BY effective_from DESC alone picks an engine/plan-dependent winner when two reminder_schedule rows for the same rule_kind share an effective_from (a same-day cadence correction under rule 3's new-row-never-edit makes this likely). Append id DESC — UUIDv7 ids are time-ordered, so the latest insert wins deterministically on SQLite and Postgres alike. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>feat/client-detail-redesign
parent
5865aafe06
commit
56b00b60c6
Loading…
Reference in New Issue