When I run CMD> php artisan migrate
I got the below error
Changing columns for table "gift_cards" requires Doctrine DBAL; install "doctrine/dbal". Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it
I downloaded the dependency using composer, it will download version based on my laravel version
"composer require doctrine/dbal"
the dependency added to my composer.json
"require": {
"laravel/framework": "5.5.*",
"doctrine/dbal": "^2.5",
}
when I run the migrate I am getting the below error.
CMD> php artisan migrate Migration table created successfully.
In AbstractPlatform.php line 423: Unknown database type enum requested Doctrine\DBAL\Platforms\MySqlPlatform may not support it.
All my tables has database engine as InnoDB
I added the dependencies to my composer.json
"require": { "laravel/framework": "5.5.*", "doctrine/dbal": "^2.5", }
and run the composer install
command.