Account merge ledger: roll-forward-only Down guard, standing-at-write through one owner for every writer, one current Patron snapshot per membership, memberless Heimdall sign-in, intake and Stripe routing through one owner
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
aa348d3b43
commit
537a477dc3
17 changed files with 405 additions and 54 deletions
|
|
@ -1445,6 +1445,11 @@ namespace Bifrost.Web.Data.Migrations
|
|||
|
||||
b.HasIndex("MembershipId", "Kind", "IsCurrent");
|
||||
|
||||
b.HasIndex("MembershipId")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("UX_TierSnapshots_MembershipId_CurrentPatron")
|
||||
.HasFilter("\"Kind\" = 'Patron' AND \"IsCurrent\"");
|
||||
|
||||
b.ToTable("TierSnapshots");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue