feat: add Consent model, migration, and repository

This commit is contained in:
Johan Lundberg 2026-02-18 14:41:32 +01:00
parent 16f3e039d9
commit 9ccc6c885f
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1
7 changed files with 200 additions and 3 deletions

View file

@ -1,6 +1,7 @@
from typing import runtime_checkable
from porchlight.store.protocols import (
ConsentRepository,
CredentialRepository,
MagicLinkRepository,
UserRepository,
@ -11,3 +12,4 @@ def test_protocols_are_runtime_checkable() -> None:
assert runtime_checkable(UserRepository) # type: ignore[arg-type]
assert runtime_checkable(CredentialRepository) # type: ignore[arg-type]
assert runtime_checkable(MagicLinkRepository) # type: ignore[arg-type]
assert runtime_checkable(ConsentRepository) # type: ignore[arg-type]