protected function convertArchive2()
 {
     if ($this->db->tableExists("archive2")) {
         if ($this->db->ruleExists('archive', 'archive_insert')) {
             $this->output("Dropping rule 'archive_insert'\n");
             $this->db->query('DROP RULE archive_insert ON archive');
         }
         if ($this->db->ruleExists('archive', 'archive_delete')) {
             $this->output("Dropping rule 'archive_delete'\n");
             $this->db->query('DROP RULE archive_delete ON archive');
         }
         $this->applyPatch('patch-remove-archive2.sql', false, "Converting 'archive2' back to normal archive table");
     } else {
         $this->output("...obsolete table 'archive2' does not exist\n");
     }
 }