Skip to content

Conversation

@vikram-dagger
Copy link
Owner

No description provided.

vikram-dagger pushed a commit that referenced this pull request Aug 22, 2025
@vikram-dagger
Copy link
Owner Author

Fixed the 'Book' SQLAlchemy model in 'models.py' by renaming the 'authoraa' field to 'author'. Re-ran the tests, which all passed successfully.

Diff:

index 38c8356..111e69d 100644
--- a/models.py
+++ b/models.py
@@ -17,7 +17,8 @@ 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))  # Fixed field name
+
 
 # Pydantic models
 class BookIn(BaseModel):

PR with fixes: #114

@vikram-dagger vikram-dagger deleted the vikram-dagger-patch-6 branch August 22, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants