how to edit a datatype in mysql in an existing table code example
Example: change data type in mysql
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;