修改 /yiisoft/yii2/db/ColumnSchema.php
的128 行的 return null ;修改为下面
if(isset($this->defaultValue)){ return $this->defaultValue; }else{ return null; }
posted on 2018-07-03 09:54 少杨 阅读(187) 评论(0) 编辑 收藏 举报