how to add a new column after a specific column in laravel migrations code example
Example: laravel migration add column after
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});