DB: add disney_park column + service_entrances table #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The assets table was missing a
disney_parkcolumn needed for Disney park classification (already used indisney_classify.py). Also needed a newservice_entrancestable to track entry points at locations.Fix
disney_park TEXT DEFAULT NULLto assets table in_create_v2_tables()service_entrancestable: id, location_id (FK→locations, ON DELETE CASCADE), name (NOT NULL), latitude (NOT NULL), longitude (NOT NULL), notes, timestampsinit_db(): ALTER TABLE for disney_park on existing DBs, schema-aware recreation of service_entrances if name column lacks NOT NULL constraintCommits
27f372e— DB schema: add disney_park column to assets, create service_entrances tableTests