Post Page Advertisement [Top]



Click here to send WhatsApp On Unsaved Mobile Numbers For Free

How to fix database migration error in Laravel after running make:auth?


How to fix database migration error in Laravel for the running make:auth?


To fix the database migration error in Laravel for the auth migration add the two red line in your Laravel project AppServiceProvider.php file as given blow:


Laravel --> AppServiceProvider.php


<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;

class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
Schema::defaultStringLength(191);
}

/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}

 


---
I hope you likable this nice post. Do not forget to share it together with your friends, the Sharing Button is below the post. Apart from this, if there's any downside within the intermediate, don't hesitate to request the Comment Box. we are going to be happy to help you.

I will continue to write more and more on this blog, so do not forget to make our blog BlogLearner as a bookmark (Ctrl + D) on your mobile or computer and subscribe to us to get all the posts in your email. Do not forget to share these posts, if you like it. You can facilitate us to reach additional individuals by sharing it on social networking sites like Facebook or Twitter.

thankyou-rrkksinha-bloglearner

How to fix database migration error in Laravel after running make:auth?

#rrkksinha #bloglearner

No comments:

Post a Comment

Bottom Ad [Post Page]

rrkksinha.