Answers for "how we add username field in the migration laravel"

PHP
1

pip install urllib

pip install urllib3
Posted by: Guest on February-10-2021
3

laravel before migration

Schema::table('users', function ($table) {
    $table->string('email')->after('id')->nullable();
});
Posted by: Guest on December-11-2020
1

laravel migration

$table->string('name', 100);
Posted by: Guest on December-14-2020

Code answers related to "how we add username field in the migration laravel"

Browse Popular Code Answers by Language