MySQL: modify column type is not supported
Solution: Create a new tmp table Copy data to tmp table Delete original table Rename the tmp table’s name to original one’s # Step 1: CREATE TABLE tmp_table ( # your new column types ); # If you don't need to make any change CREATE TABLE tmp_table LIKE original_table; # Read more…