edit column laravel code example
Example 1: laravel change column
Schema::table('users', function (Blueprint $table) {
$table->string('name', 50)->nullable()->change();
});
Example 2: Laravel Rename Column
Schema::table('users', function (Blueprint $table) {
$table->renameColumn('from', 'to');
});