| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { |
||
| 24 | /** @var ISchemaWrapper $schema */ |
||
| 25 | $schema = $schemaClosure(); |
||
| 26 | |||
| 27 | $table = $schema->getTable('mounts'); |
||
| 28 | if (!$table->hasColumn('mount_provider_class')) { |
||
| 29 | $table->addColumn('mount_provider_class', Types::STRING, [ |
||
| 30 | 'notnull' => false, |
||
| 31 | 'length' => 128, |
||
| 32 | ]); |
||
| 33 | return $schema; |
||
| 34 | } |
||
| 35 | return null; |
||
| 36 | } |
||
| 38 |