| Conditions | 1 |
| Paths | 1 |
| Total Lines | 35 |
| Code Lines | 27 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 60 | protected function createIndexes() |
||
| 61 | { |
||
| 62 | $this->createIndex( |
||
| 63 | $this->db->getIndexName( |
||
| 64 | $this->getTableName(), |
||
| 65 | 'elementId', |
||
| 66 | true, |
||
| 67 | true |
||
| 68 | ), |
||
| 69 | $this->getTableName(), |
||
| 70 | 'elementId', |
||
| 71 | true |
||
| 72 | ); |
||
| 73 | $this->createIndex( |
||
| 74 | $this->db->getIndexName( |
||
| 75 | $this->getTableName(), |
||
| 76 | 'hubspotId', |
||
| 77 | false, |
||
| 78 | false |
||
| 79 | ), |
||
| 80 | $this->getTableName(), |
||
| 81 | 'hubspotId', |
||
| 82 | false |
||
| 83 | ); |
||
| 84 | $this->createIndex( |
||
| 85 | $this->db->getIndexName( |
||
| 86 | $this->getTableName(), |
||
| 87 | 'elementId,hubspotId', |
||
| 88 | true |
||
| 89 | ), |
||
| 90 | $this->getTableName(), |
||
| 91 | 'elementId,hubspotId', |
||
| 92 | true |
||
| 93 | ); |
||
| 94 | } |
||
| 95 | |||
| 126 |