The documentation doesn't say anything about changing data type with migrations.
I have this column in my DB table
$table->smallInteger('driverslicensetype')->nullable();
and I am saving four-digit numbers, but when the number begins with 0 (a zero) for example 0230 it will be saved as 230 in DB. And that is wrong.
Now i want to change this column data type from smallInteger to varchar.
How can i do this through migrations?