Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
20 | public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
||
21 | /** @var ISchemaWrapper $schema */ |
||
22 | $schema = $schemaClosure(); |
||
23 | |||
24 | $table = $schema->getTable('richdocuments_wopi'); |
||
25 | $table->addColumn('share', 'string', [ |
||
26 | 'notnull' => false, |
||
27 | 'length' => 64 |
||
28 | ]); |
||
29 | |||
30 | return $schema; |
||
31 | } |
||
32 | |||
34 |