-- Add batch_id to link multiple compliance orders for bundle checkout
ALTER TABLE compliance_orders ADD COLUMN IF NOT EXISTS batch_id TEXT;
CREATE INDEX IF NOT EXISTS idx_compliance_orders_batch ON compliance_orders(batch_id) WHERE batch_id IS NOT NULL;
