Replace customer_id int(11) by customer_id MEDIUMINT(8) UNSIGNED