<?php
// 略
class CreateUsersTable extends Migration
{
// 略
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name')->unique(); //-- この行を変更
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password')->nullable(); //-- この行を変更
$table->rememberToken();
$table->timestamps();
});
}
// 略
}