mysql alter table change type code example
Example 1: mysql alter table add column
ALTER TABLE table
ADD [COLUMN] column_name column_definition
[FIRST|AFTER existing_column];
Example 2: change data type in mysql
ALTER TABLE table_name
CHANGE COLUMN column_name column_name datatype;