From e8119318599d8c0b1c63d5a91353b5f43e213f95 Mon Sep 17 00:00:00 2001 From: Vikram Date: Wed, 2 Sep 2026 19:03:48 +0530 Subject: [PATCH] test: add publisher field --- 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):