DB Migration – To change schema of a table

Command:

Migration Class:

This package is required to change columns

Required PHP extension

  • extension=fileinfo
  • extension=pdo_mysql

Doc:

https://laravel.com/docs/5.4/migrations#creating-columns