Skip to content

docs: Slice 2a Plan 1 — PostgreSQL + migrations + test harness#29

Merged
malinfossum merged 2 commits into
mainfrom
docs/slice2a-plan1-postgres
Jul 8, 2026
Merged

docs: Slice 2a Plan 1 — PostgreSQL + migrations + test harness#29
malinfossum merged 2 commits into
mainfrom
docs/slice2a-plan1-postgres

Conversation

@malinfossum

Copy link
Copy Markdown
Collaborator

Implementation plan for Slice 2a — Plan 1: the pure infrastructure swap (no auth yet), first of the accounts slice.

  • Move persistence from SQLite to PostgreSQL behind the ConnectionStrings:WendDb seam (Npgsql).
  • API integration tests move to a throwaway Testcontainers PostgreSQL — one container per run, a fresh database per test; repository unit tests stay on in-memory SQLite. No API test-class changes.
  • Adopt EF Core migrations; replace EnsureCreated with Migrate at startup.

Three bite-sized TDD tasks. All 147 tests stay green; no user-visible behaviour change. Plan 2 (Identity + WendUser + Board.OwnerId + per-user scoping) builds on this.

Built from the signed-off spec (PR #28) — merge that first so the plan's spec link resolves.

@malinfossum
malinfossum merged commit 0ce98da into main Jul 8, 2026
1 check passed
@malinfossum
malinfossum deleted the docs/slice2a-plan1-postgres branch July 8, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant