feat: add disney_area column and resort area mapping

- Add DISNEY_AREA_MAP in parser.py mapping 40+ Disney properties to 8 resort areas
- Add disney_area to parse_customer() output, resolver after disney_park
- Update db_writer.py schema: ORDERED_COLUMNS, AUTO_COLUMNS, COLUMN_TYPES
- Add /api/status endpoint query for by_disney_area distribution
- Add area row to web dashboard UI
- Auto-migration adds column to existing databases
This commit is contained in:
2026-05-24 23:36:41 -04:00
parent af566bc368
commit 0205866e7a
4 changed files with 97 additions and 1 deletions
+3
View File
@@ -47,6 +47,7 @@ AUTO_FIELDS = {
"location_area",
"dex_report_date",
"disney_park",
"disney_area",
"remote_pricing_status",
"alerts",
"telemetry_provider",
@@ -89,6 +90,7 @@ ALL_COLUMNS = [
"deployed", # preserve
"pulled_date", # preserve
"disney_park", # auto
"disney_area", # auto
"remote_pricing_status", # auto
"alerts", # auto
"telemetry_provider", # auto
@@ -130,6 +132,7 @@ COLUMN_TYPES = {
"deployed": "INTEGER",
"pulled_date": "TEXT",
"disney_park": "TEXT",
"disney_area": "TEXT",
"remote_pricing_status": "TEXT",
"alerts": "TEXT",
"telemetry_provider": "TEXT",