📌  相关文章
📜  请求了未知的列类型“double”.您使用的任何 Doctrine 类型都必须在 \Doctrine\DBAL\Types\Type::addType 中注册 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:40.805000             🧑  作者: Mango

代码示例1
// 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');