Unknown column type "year" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known code example

Example: Unknown column type "double" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType

// This means the datatype of the column you are trying to change or modify
// is NOT SUPPORTED by doctrine/dbal. Use raw DB statement instead.

DB::statement('ALTER TABLE `table_name` MODIFY `column_name` DOUBLE(19,4) NULL');

Tags:

Php Example