after laravel migration 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();
});