Laravel migration change column type

How to change column type in Laravel Migration

In this trick we will see how to change column data type for example we are going to change a field from varchar to longText. To do this create a new migration file and add below code and run that migration.