laravel before and after in migrations 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();
});