| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | protected function createTables() |
||
| 40 | { |
||
| 41 | $this->dropTableIfExists($this->getTableName()); |
||
| 42 | $this->createTable( |
||
| 43 | $this->getTableName(), |
||
| 44 | [ |
||
| 45 | 'id' => $this->primaryKey(), |
||
| 46 | 'elementId' => $this->integer(), |
||
| 47 | 'hubspotId' => $this->char(48), |
||
| 48 | 'dateCreated' => $this->dateTime()->notNull(), |
||
| 49 | 'dateUpdated' => $this->dateTime()->notNull(), |
||
| 50 | 'uid' => $this->uid() |
||
| 51 | ] |
||
| 52 | ); |
||
| 53 | } |
||
| 54 | |||
| 126 |