# The database map page (published 2026-09-15)

- **Where rian sees it:** https://claude.ai/artifact/3muVVp2ZJanzGcQWTtw7hf (a private Claude
  artifact; the gallery lists it as "Duty Free Professor Database Map"). It is a snapshot of the
  models at the commit named in its masthead, not a live page.
- **How it is made:** `.venv-dev/bin/python main/scripts/dbmap.py --html <file>`, then publish the
  file with the Artifact tool passing that URL as `url` so the link stays the same. The checked,
  durable form of the same map is the Relationships block in `main/docs/DATA-MODEL.md`, which
  `main/scripts/docmap.py --write` regenerates and `check.sh` gates.
- **Why it exists:** rian asked (15 Sep) to see the whole structure before deciding changes to it
  after the first look at the giant Listings table; his words for things (listings, products,
  brands, collectors, airports) map onto `listings`, `products`, `brands`, `sources`, `locations`.
  Reading it, he flagged the location model the same day: see [[clean-schema-and-non-airport-places]].
