table('customer_portrait_field_select', ['comment' => '客户画像字段select选项', 'engine'=>'InnoDB']); $table->addColumn('name', 'string',array('comment'=>'字段名称')) ->addColumn('pid', 'integer',array('comment'=>'上级id','default'=>0)) ->create(); } }