create a change column table migration in laravel code example
Example 1: laravel migration change column name
Schema::table('users', function (Blueprint $table) {
$table->renameColumn('from', 'to');
});
Example 2: add new column in existing table in laravel migration
public function down()
{
Schema::table('users', function($table) {
$table->dropColumn('paid');
});
}