feat: replace counting id with unique id

This commit is contained in:
Leon
2025-07-17 15:13:29 +02:00
parent 9d982314d8
commit d8bbfe88fa
12 changed files with 48 additions and 33 deletions

View File

@@ -20,8 +20,8 @@ class EntryCreate(EntryBase):
class Entry(EntryBase):
"""Schema for retrieving an entry with its ID and newsletter ID."""
id: int
newsletter_id: int
id: str
newsletter_id: str
received_at: datetime.datetime
model_config = ConfigDict(from_attributes=True)