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

PHP
0

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');
Posted by: Guest on January-11-2021

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

Browse Popular Code Answers by Language