-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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