laravel migrate change column type code example
Example 1: laravel migration change column type
public function up()
{
Schema::table('sometable', function (Blueprint $table) {
$table->text('text')->change();
});
}
Example 2: laravel migration integer
$table->bigInteger('votes');
Example 3: php artisan see last migration
php artisan migrate:status