create new migration to change data type laravel code example
Example 1: laravel migration integer
$table->integer('votes');
Example 2: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}