| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 28 | public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) |
||
| 29 | { |
||
| 30 | /** @var ISchemaWrapper $schema */ |
||
| 31 | $schema = $schemaClosure(); |
||
| 32 | |||
| 33 | $table = $schema->getTable('analytics_report'); |
||
| 34 | if (!$table->hasColumn('tableoptions')) { |
||
| 35 | $table->addColumn('tableoptions', 'string', [ |
||
| 36 | 'notnull' => false, |
||
| 37 | 'length' => 1000, |
||
| 38 | ]); |
||
| 39 | } |
||
| 40 | return $schema; |
||
| 41 | } |
||
| 42 | } |