Skip to content

feat(db): add initial database schema - #27

Open
bhuvanh66 wants to merge 1 commit into
mainfrom
5-hotel-data-parser
Open

bhuvanh66 wants to merge 1 commit into
mainfrom
5-hotel-data-parser

Conversation

@bhuvanh66

@bhuvanh66 bhuvanh66 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Closes #1 Initial implementation of schemas for external sources (weather, events, flights, competitor pricing) and for hotel shape. This likely needs to be revised after data is extracted and exact shapes are confirmed

Type of change

  • feat — new feature
  • fix — bug fix
  • docs — documentation only
  • refactor — code change that neither fixes a bug nor adds a feature
  • perf — performance improvement
  • test — adding or updating tests
  • chore / build / ci — tooling, deps, or pipeline changes

Changes

  • Add models for external factors and hotel data
  • Add database shape for hotel data

Database migrations

  • No schema changes
  • Includes an Alembic migration (just migrate-create "...")
  • Migration runs cleanly (just migrate) and rolls back (just migrate-down)

Checklist

  • Commits follow Conventional Commits
  • Lint passes (just lint) and code is formatted (just format)
  • Pre-commit hooks run clean (just hooks installed)
  • Updated docs / README / .env.example where relevant
  • Tested locally (just dev) and verified the API at http://localhost:8000/docs

How to test

Notes for reviewers

@bhuvanh66 bhuvanh66 linked an issue Sep 23, 2026 that may be closed by this pull request
@bhuvanh66 bhuvanh66 changed the title initial schema implementation feat(db): add initial database schema Sep 23, 2026
@selvarajuv
selvarajuv force-pushed the 5-hotel-data-parser branch 2 times, most recently from 45e90ca to b96d16e Compare September 25, 2026 18:54
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.

Hotel data parser Define Data Schema

3 participants