Support the ongoing development of Laravel.io →
Authentication Database Installation
Last updated 1 year ago.
0

The users table already exists. Stop trying to create it, it already exists.

0

delete your database and then php artisan migrate if you tried to migrate it again and shows any error with email go to AppSeriveceProvider and paste this

<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Schema; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Schema::defaultStringLength(191); } /** * Register any application services. * * @return void */ public function register() { // } }
0

don't forget to copy the codes above :)

0

2014_10_12_000000_create_users_table.php $table->string('email')->unique(); change $table->string('email', 191)->unique();

2014_10_12_100000_create_password_resets_table.php $table->string('email')->index(); change $table->string('email', 191)->index();

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jubayed jubayed Joined 28 Dec 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.