Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Unknown column type "double" requested. Any Doctrine type that you use has to be registered with DoctrineDBALTypesType::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');
 
PREVIOUS NEXT
Tagged: #Unknown #column #type #Any #Doctrine #type #registered
ADD COMMENT
Topic
Name
1+2 =