From 789bb095b85904941247e4f374f564e08ed343b4 Mon Sep 17 00:00:00 2001 From: Shawn Date: Fri, 22 May 2026 17:47:47 -0400 Subject: [PATCH] v4 DB schema: disney_park + service_entrances (27f372e) --- Home.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Home.md b/Home.md index 7e46766..1a674b8 100644 --- a/Home.md +++ b/Home.md @@ -12,6 +12,12 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic - Username: `admin` - Password: `Brett85!@` +### v4 DB Schema — disney_park + service_entrances (May 2026) +- **Commit:** 27f372e +- **Assets table:** Added `disney_park TEXT DEFAULT NULL` column for Disney park classification (Magic Kingdom, Epcot, Hollywood Studios, Animal Kingdom, Disney Springs, Resort, Office, Other) +- **New table:** `service_entrances` — id, location_id (FK→locations, ON DELETE CASCADE), name (NOT NULL), latitude (NOT NULL), longitude (NOT NULL), notes (DEFAULT ''), created_at, updated_at +- **Migration:** `init_db()` auto-adds `disney_park` column to existing DBs. Detects and recreates `service_entrances` if schema was cached without NOT NULL constraints + ### T4 Connect Label Upload — May 2026 - **"🏷️ Connect" mode toggle** on Add Asset tab (alongside Barcode/OCR/Manual) - **Camera + Gallery buttons**: `connectFromCamera()` opens device camera, `connectFromGallery()` triggers file picker in connect mode