table('spellgroup') ->addColumn('root_id', 'integer', ['comment' => '企业id', 'default' => 1]) ->update(); $this->table('spellgroup_join') ->addColumn('root_id', 'integer', ['comment' => '企业id', 'default' => 1]) ->update(); $this->table('spellgroup_team') ->addColumn('root_id', 'integer', ['comment' => '企业id', 'default' => 1]) ->update(); } }