📜  laravel 迁移列类型 - PHP 代码示例

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

代码示例6
// in laravel if error of missing pdomysql driver issue the command
// composer require doctrine/dbal
DB::connection()->getDoctrineColumn($table_name, $field_name)->getType()->getName()