Files
turftracker/database/migrations/V8__capture_method_on_lawn_sections.sql
2025-09-04 07:29:41 -05:00

6 lines
255 B
SQL

-- Add capture method and metadata on lawn sections for provenance
ALTER TABLE lawn_sections
ADD COLUMN IF NOT EXISTS capture_method VARCHAR(20) CHECK (capture_method IN ('tap','gps_points','gps_trace')),
ADD COLUMN IF NOT EXISTS capture_meta JSONB;