Run migrations AddSealedBallotMotions and AddMindKeys on Postgres #27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.