3 declare(strict_types=1);
    28     protected \ilDBInterface 
$db;
    37         if (!$this->db->indexExistsByFields(
'booking_reservation', [
'context_obj_id'])) {
    38             $this->db->addIndex(
'booking_reservation', [
'context_obj_id'], 
'i5');
    44         if (!$this->db->indexExistsByFields(
'booking_schedule', [
'pool_id'])) {
    45             $this->db->addIndex(
'booking_schedule', [
'pool_id'], 
'i1');
    51         if (!$this->db->indexExistsByFields(
'booking_object', [
'schedule_id'])) {
    52             $this->db->addIndex(
'booking_object', [
'schedule_id'], 
'i2');
    59         if (!$db->tableExists(
"book_sel_object")) {
    74             $db->createTable(
"book_sel_object", $fields);
    75             $db->addPrimaryKey(
"book_sel_object", [
"user_id", 
"object_id"]);
    82         if (!$db->tableColumnExists(
"book_sel_object", 
"pool_id")) {
    95         if (!$db->tableColumnExists(
"booking_settings", 
"messages")) {
   108         if (!$db->tableColumnExists(
"booking_reservation", 
"message")) {
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addTableColumn(string $table_name, string $column_name, array $attributes)
 
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...