1. Operation
1. Modify the type of table
alter table t_user modify column assagement_id VARCHAR(111);
2. Error
3780 - Referencing column 'assagement_id' and referenced column 'id' in foreign key constraint 'FKhlaffssam5nthcbq199w4tccp' are incompatible., Time: 0.009000s
3. Solution
Delete foreign key
ALTER TABLE t_user
DROP FOREIGN KEY FKhlaffssam5nthcbq199w4tccp;
Execute again
alter table t_user modify column assagement_id VARCHAR(111);