ALTER TABLE public.units ADD COLUMN IF NOT EXISTS status_tags text[] NOT NULL DEFAULT '{}'::text[]; CREATE INDEX IF NOT EXISTS idx_units_status_tags ON public.units USING GIN (status_tags);