◆ prepare()
◆ step_1()
ilLTIDatabaseUpdateSteps::step_1 |
( |
| ) |
|
Definition at line 30 of file class.ilLTIDatabaseUpdateSteps.php.
32 if ($this->db->tableColumnExists(
'lti2_consumer',
'consumer_key')) {
33 $this->db->dropTableColumn(
'lti2_consumer',
'consumer_key');
◆ step_2()
ilLTIDatabaseUpdateSteps::step_2 |
( |
| ) |
|
Definition at line 37 of file class.ilLTIDatabaseUpdateSteps.php.
39 if ($this->db->tableColumnExists(
'lti2_consumer',
'consumer_key256')) {
40 $this->db->renameTableColumn(
'lti2_consumer',
'consumer_key256',
'consumer_key');
◆ step_3()
ilLTIDatabaseUpdateSteps::step_3 |
( |
| ) |
|
Definition at line 44 of file class.ilLTIDatabaseUpdateSteps.php.
46 if ($this->db->tableColumnExists(
'lti2_consumer',
'consumer_key')) {
47 $this->db->modifyTableColumn(
'lti2_consumer',
'consumer_key', array(
◆ step_4()
ilLTIDatabaseUpdateSteps::step_4 |
( |
| ) |
|
Definition at line 55 of file class.ilLTIDatabaseUpdateSteps.php.
57 if (!$this->db->tableColumnExists(
'lti2_consumer',
'platform_id')) {
58 $this->db->addTableColumn(
'lti2_consumer',
'platform_id', [
◆ step_5()
ilLTIDatabaseUpdateSteps::step_5 |
( |
| ) |
|
Definition at line 66 of file class.ilLTIDatabaseUpdateSteps.php.
68 if (!$this->db->tableColumnExists(
'lti2_consumer',
'client_id')) {
69 $this->db->addTableColumn(
'lti2_consumer',
'client_id', [
◆ step_6()
ilLTIDatabaseUpdateSteps::step_6 |
( |
| ) |
|
Definition at line 77 of file class.ilLTIDatabaseUpdateSteps.php.
79 if (!$this->db->tableColumnExists(
'lti2_consumer',
'deployment_id')) {
80 $this->db->addTableColumn(
'lti2_consumer',
'deployment_id', [
◆ step_7()
ilLTIDatabaseUpdateSteps::step_7 |
( |
| ) |
|
Definition at line 88 of file class.ilLTIDatabaseUpdateSteps.php.
90 if (!$this->db->tableColumnExists(
'lti2_consumer',
'public_key')) {
91 $this->db->addTableColumn(
'lti2_consumer',
'public_key', [
◆ step_8()
ilLTIDatabaseUpdateSteps::step_8 |
( |
| ) |
|
Definition at line 98 of file class.ilLTIDatabaseUpdateSteps.php.
100 if (!$this->db->tableExists(
'lti2_access_token')) {
102 'consumer_pk' => array(
119 'type' =>
'timestamp',
123 'type' =>
'timestamp',
127 'type' =>
'timestamp',
131 $this->db->createTable(
"lti2_access_token", $values);
132 $this->db->addPrimaryKey(
"lti2_access_token", array(
"consumer_pk"));
◆ step_9()
ilLTIDatabaseUpdateSteps::step_9 |
( |
| ) |
|
◆ $db
The documentation for this class was generated from the following file: