ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilBackgroundTasksDB80.php
Go to the documentation of this file.
1 <?php
2 
20 {
21  protected ilDBInterface $db;
22 
23  public function prepare(ilDBInterface $db): void
24  {
25  $this->db = $db;
26  }
27 
28  public function step_1(): void
29  {
30  if (!$this->db->indexExistsByFields('il_bt_bucket', ['user_id'])) {
31  $this->db->addIndex('il_bt_bucket', ['user_id'], 'i1');
32  }
33  }
34 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...