diff --git a/models.py b/models.py index 38c8356..bd73c60 100644 --- a/models.py +++ b/models.py @@ -17,7 +17,7 @@ class Book(Base): id: Mapped[int] = mapped_column(primary_key=True, index=True) title: Mapped[str] = mapped_column(String(255), index=True) - authoraa: Mapped[str] = mapped_column(String(255)) + author: Mapped[str] = mapped_column(String(255)) # Pydantic models class BookIn(BaseModel):