ILIAS  release_8 Revision v8.25
ilAuthenticationDatabaseUpdateSteps8 Class Reference
+ Inheritance diagram for ilAuthenticationDatabaseUpdateSteps8:
+ Collaboration diagram for ilAuthenticationDatabaseUpdateSteps8:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
- Public Member Functions inherited from ilDatabaseUpdateSteps
 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

Member Function Documentation

◆ prepare()

ilAuthenticationDatabaseUpdateSteps8::prepare ( ilDBInterface  $db)

Definition at line 25 of file class.ilAuthenticationDatabaseUpdateSteps8.php.

25 : void
26 {
27 $this->db = $db;
28 }

References $db.

◆ step_1()

ilAuthenticationDatabaseUpdateSteps8::step_1 ( )

Definition at line 30 of file class.ilAuthenticationDatabaseUpdateSteps8.php.

30 : void
31 {
32 if ($this->db->tableExists('usr_session_stats_raw') &&
33 $this->db->tableColumnExists('usr_session_stats_raw', 'start_time')) {
34 $this->db->addIndex(
35 'usr_session_stats_raw',
36 ['start_time'],
37 'i1'
38 );
39 }
40 }

Field Documentation

◆ $db

ilDBInterface ilAuthenticationDatabaseUpdateSteps8::$db
protected

Definition at line 23 of file class.ilAuthenticationDatabaseUpdateSteps8.php.

Referenced by prepare().


The documentation for this class was generated from the following file: