Check out example codes for "alter table column change data type to text mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE tablename MODIFY columnname INTEGER;

Learn ReactJs, React Native from akashmittal.com