I just rename an database column to enum then run the migration again and i got this error
Doctrine\DBAL\DBALException : Unknown database type enum requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.
at /var/www/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php:479
475|
476| $dbType = strtolower($dbType);
477|
478| if (!isset($this->doctrineTypeMapping[$dbType])) {
> 479| throw new \Doctrine\DBAL\DBALException("Unknown database type ".$dbType." requested, " . get_class($this) . " may not support it.");
480| }
481|
482| return $this->doctrineTypeMapping[$dbType];
483| }
Exception trace:
The migration looks like:
$table->renameColumn('address','region_id')->change();
$table->enum('region_id', ['EU', 'USA']);
What im doing wrong now ?