migrate before and after laravel code example
Example: laravel before migration
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});