table('spellgroup_team'); $table->removeColumn('spellgroup_id')->update(); $table->addColumn(Column::tinyInteger('status')->setComment('团队状态')->setDefault(1)) ->addColumn('uid', 'integer',array('comment'=>'团长uid')) ->addColumn('end_time', 'integer',array('comment'=>'拼团超时时间')) ->update(); } }