From a5703a5f8b3a0737a5cac51678373c5940076e48 Mon Sep 17 00:00:00 2001 From: vikram-dagger <112123850+vikram-dagger@users.noreply.github.com> Date: Fri, 29 Aug 2025 19:23:43 +0530 Subject: [PATCH] Update models.py --- models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/models.py b/models.py index bd73c60..9c4ec41 100644 --- a/models.py +++ b/models.py @@ -18,6 +18,7 @@ class Book(Base): id: Mapped[int] = mapped_column(primary_key=True, index=True) title: Mapped[str] = mapped_column(String(255), index=True) author: Mapped[str] = mapped_column(String(255)) + publisher: Mapped[str] = mapped_column(String(255), nullable=False) # Pydantic models class BookIn(BaseModel):