Scalr\Upgrade\Updates\Update20160126125015::run3 PHP Метод

run3() защищенный Метод

protected run3 ( $stage )
    protected function run3($stage)
    {
        $this->console->out("Update roles. Replace ghost category roles IDs with NULLs");
        $this->db->Execute("\n            UPDATE `roles` r\n            LEFT JOIN `role_categories` rc ON r.cat_id = rc.id\n            SET cat_id = NULL\n            WHERE rc.id IS NULL");
    }