19declare(strict_types=1);
 
   32        $this->db->manipulateF(
"DELETE FROM qpl_qst_type WHERE type_tag = %s", [
'text'], [
'assJavaApplet']);
 
   33        $this->db->manipulateF(
"DELETE FROM qpl_qst_type WHERE type_tag = %s", [
'text'], [
'assFlashQuestion']);
 
   38        if (!$this->db->tableColumnExists(
'tst_rnd_quest_set_qpls', 
'pool_ref_id')) {
 
   39            $this->db->addTableColumn(
 
   40                'tst_rnd_quest_set_qpls',
 
   55        if (!$this->db->indexExistsByFields(
'qpl_a_cloze', $fields)) {
 
   66        $fields = [
'gap_fi', 
'question_fi'];
 
   67        if (!$this->db->indexExistsByFields(
'qpl_a_cloze_combi_res', $fields)) {
 
   69                'qpl_a_cloze_combi_res',
 
   79        if (!$this->db->indexExistsByFields(
'qpl_questions', $fields)) {
 
   86        $fields = [
'question_fi'];
 
   87        if (!$this->db->indexExistsByFields(
'qpl_num_range', $fields)) {
 
   98        if (!$this->db->tableColumnExists(
'qpl_a_errortext', 
'position')) {
 
   99            $this->db->addTableColumn(
 
  114        if (!$this->db->tableColumnExists(
'qpl_qst_errortext', 
'parsed_errortext')) {
 
  115            $this->db->addTableColumn(
 
  129        $this->db->modifyTableColumn(
 
  132            [
'type' => 
'text', 
'length' => 512]
 
  138        $this->db->modifyTableColumn(
 
  141            [
'type' => 
'text', 
'length' => 124]
 
prepare(ilDBInterface $db)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...