Correct schema by removing ID from discounts and orders