The users
table already exists. Stop trying to create it, it already exists.
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() { // } }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();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community