UPDATE entries SET payment_method = '1' WHERE LOWER(payment_method) = 'bar'; alter table entries modify column payment_method int(11);