DROP INDEX IF EXISTS idx_purchase_orders_outlet_id; ALTER TABLE purchase_orders DROP COLUMN IF EXISTS outlet_id;