Просто запустите эти команды
php artisan make:migration create_users_table
php artisan make:migration create_password_resets_table
В вашей миграции create_users_table
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
В вашей миграции create_password_resets_table
public function up()
{
Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index();
$table->string('token');
$table->timestamp('created_at')->nullable();
});
}
после этого запуска
php artisan migrate:refresh
PS: это сбросит вашу базу данных
Или просто запустите
php artisan migrate
РЕДАКТИРОВАТЬ: В случае ошибки 1071 Specified key was too long; max key length is 767 bytes
В вашем AppServiceProvider.php
добавить это
use Illuminate\Support\Facades\Schema; //this
public function boot()
{
Schema::defaultStringLength(191); //this
}