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