added index on ecommerce_invoice.order_id