laravel migration add first column in change code example
Example 1: laravel migration add column after
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Example 2: migration add new column to existing table in laravel 6
migration add new column to existing table in laravel 6