Skip to content

feat(db): add auth schema, sqlc queries and test database helper - #18

Merged
pitercoding merged 3 commits into
mainfrom
feat/auth-schema
Nov 22, 2026
Merged

pitercoding merged 3 commits into
mainfrom
feat/auth-schema

Conversation

@pitercoding

Copy link
Copy Markdown
Owner

Adds the database foundation for phase 1 (auth and tenants):

  • migration 00002: users, memberships and sessions, with constraints
  • sqlc setup and the first queries (users, memberships, sessions)
  • testdb helper: real Postgres (pgvector) via Testcontainers

Every constraint is covered by integration tests.

@pitercoding
pitercoding merged commit d939bf8 into main Nov 22, 2026
4 checks passed
@pitercoding
pitercoding deleted the feat/auth-schema branch November 22, 2026 19:59
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