ALTER TABLE public.units ADD COLUMN IF NOT EXISTS parcel_id text;
CREATE INDEX IF NOT EXISTS idx_units_parcel_id ON public.units (parcel_id) WHERE parcel_id IS NOT NULL;