3 declare(strict_types=1);
    24     protected \ilDBInterface 
$db;
    33         if (!$this->db->tableColumnExists(
"glossary_term", 
"short_text")) {
    34             $this->db->addTableColumn(
"glossary_term", 
"short_text", [
    41         if (!$this->db->tableColumnExists(
"glossary_term", 
"short_text_dirty")) {
    42             $this->db->addTableColumn(
"glossary_term", 
"short_text_dirty", [
    53         if (!$this->db->tableColumnExists(
"glossary_definition", 
"migration")) {
    54             $this->db->addTableColumn(
"glossary_definition", 
"migration", [
    65         if (!$this->db->tableExists(
'glo_flashcard_term')) {
    86                     'type' => 
'timestamp',
    96             $this->db->createTable(
"glo_flashcard_term", $fields);
    97             $this->db->addPrimaryKey(
"glo_flashcard_term", [
"term_id", 
"user_id", 
"glo_id"]);
   103         if (!$this->db->tableExists(
'glo_flashcard_box')) {
   124                     'type' => 
'timestamp',
   128             $this->db->createTable(
"glo_flashcard_box", $fields);
   129             $this->db->addPrimaryKey(
"glo_flashcard_box", [
"box_nr", 
"user_id", 
"glo_id"]);
   135         if (!$this->db->tableColumnExists(
"glossary", 
"flash_active")) {
   136             $this->db->addTableColumn(
"glossary", 
"flash_active", [
   144         if (!$this->db->tableColumnExists(
"glossary", 
"flash_mode")) {
   145             $this->db->addTableColumn(
"glossary", 
"flash_mode", [
   156         if (!$this->db->tableExists(
'glossary_collection')) {
   171             $this->db->createTable(
"glossary_collection", $fields);
   172             $this->db->addPrimaryKey(
"glossary_collection", [
"id", 
"glo_id"]);
 
prepare(\ilDBInterface $db)
Prepare the execution of the steps. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...