Skip to content

fix: resolve test failures in PR #13#22

Closed
vikram-blaxel wants to merge 2 commits into
mainfrom
fix/pr-13-d89164
Closed

fix: resolve test failures in PR #13#22
vikram-blaxel wants to merge 2 commits into
mainfrom
fix/pr-13-d89164

Conversation

@vikram-blaxel
Copy link
Copy Markdown
Owner

Automated fix for failing tests in #13.

Changes made:
Removed the publisher column from the SQLAlchemy Book model to match the actual database schema defined in db.sql, which only includes id, title, and author. This prevents SQLAlchemy from trying to insert a non-null publisher value into a non-existent/nullable column, resolving the integrity errors during book creation in the tests.

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.

1 participant