ALTER TABLE public.customer_transactions ADD COLUMN IF NOT EXISTS branch_id uuid;
CREATE INDEX IF NOT EXISTS idx_customer_transactions_branch_id ON public.customer_transactions(branch_id);
CREATE INDEX IF NOT EXISTS idx_products_branch_id ON public.products(branch_id);