Skip to content

Create Initial Database Models (User + Book) #10

@anicodes404

Description

@anicodes404

Description:
Create the first database models to support users and book tracking. Models should inherit from Base and define table names, primary keys, and necessary fields.

Models to Implement:

User model: id, email, hashed_password, timestamps

Book model: id, title, author, status, user_id (FK), timestamps

Tasks:

Create models.py

Define User and Book models

Add relationship between User and Book

Acceptance Criteria:

SQLAlchemy models exist for User and Book

Relationship allows a user to have multiple books

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions