how we add username field in the migration laravel code example
Example 1: laravel before migration
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Example 2: laravel migration
$table->string('name', 100);