Primary Setting In Laravel
After install Laravel, you must set below for your project.
Open .env file on your project and then set for APP_NAME, DB_DATABASE, DB_USERNAME, and DB_PASSWORD.
Open AppServiceProvider.php which located in app/Providers/ and then add the script below.
On declaration :
use Illuminate\Support\Facades\Schema;
On boot function :
Schema::defaultStringLength(191);
Post a Comment