v4 DB schema: disney_park + service_entrances (27f372e)

2026-05-22 17:47:47 -04:00
parent 760bcadc09
commit 789bb095b8
+6
@@ -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