Answers for "laravel migration error"

PHP
13

laravel migation error

use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}
Posted by: Guest on April-29-2020
0

php artisan migrate error

As I mentioned you, you need to login to MySQL via terminal mysql -u root -p, where root is the MySQL user, then input your password, then just create the database using the SQL CREATE DATABASE my_db; where my_db is the database name and finally just update your .env file with your database and credentials.
Posted by: Guest on July-15-2021

Code answers related to "laravel migration error"

Browse Popular Code Answers by Language