auth and raw sql in alchemy

This commit is contained in:
2024-04-01 09:19:10 +00:00
parent 4e6aee8c3a
commit 949ea9fdcf
19 changed files with 71 additions and 40 deletions

View File

@@ -7,7 +7,7 @@ from api.infrastructure.persistence.models.base import Base
class UserModel(Base):
__tablename__ = "user"
__tablename__ = "users"
id: Mapped[uuid.UUID] = mapped_column(
UUID(as_uuid=True),