table('goods_connect'); $table ->renameColumn('goods_category_id','type') ->changeColumn('type','integer',['limit'=>10,'default'=>0,'null'=>false,'comment'=>'页面标识']) ->update(); } }