Skip to content

MVP0.2.2 Orders Data Model + DB Tables #3

@Boxuan-Matty-Lin

Description

@Boxuan-Matty-Lin

Scope

  • Design the minimal order schema (recommended tables: orders, order_items; store item options as JSON on the item if needed)
  • Define Pydantic models: OrderCreate, OrderItemCreate, OrderResponse
  • Add the corresponding database migration(s)

Definition of Done (DoD)

  • Migrations run successfully end-to-end (e.g., can upgrade to the latest revision without errors)
  • Data models and DB schema are aligned, and the schemas are visible in OpenAPI (/docs)

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions