Run migrations AddSealedBallotMotions and AddMindKeys on Postgres #27

Open
opened 2026-11-09 20:58:37 +00:00 by heimdall · 0 comments
Member

Both migrations are hand-written (no dotnet-ef on the authoring host), their snapshot edits are by hand, and neither has run against Postgres; tests used the in-memory provider, which does not enforce the unique indexes (MindNonces, MindPersonas, SealedBallots) or concurrency tokens the way Postgres will. Run both on a scratch Postgres, diff the model against the snapshot (dotnet ef migrations has-pending-model-changes), and exercise the race tests' assumptions. Owner: Eureka. Follow-up from PRs #21 and #22.

Both migrations are hand-written (no dotnet-ef on the authoring host), their snapshot edits are by hand, and neither has run against Postgres; tests used the in-memory provider, which does not enforce the unique indexes (MindNonces, MindPersonas, SealedBallots) or concurrency tokens the way Postgres will. Run both on a scratch Postgres, diff the model against the snapshot (`dotnet ef migrations has-pending-model-changes`), and exercise the race tests' assumptions. Owner: Eureka. Follow-up from PRs #21 and #22.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Bifrost#27
No description provided.