@@ -33,22 +33,22 @@ |
||
33 | 33 | |
34 | 34 | class Version1007Date20181007225117 extends SimpleMigrationStep { |
35 | 35 | |
36 | - /** |
|
37 | - * @param IOutput $output |
|
38 | - * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
39 | - * @param array $options |
|
40 | - * @return null|ISchemaWrapper |
|
41 | - */ |
|
42 | - public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
43 | - /** @var ISchemaWrapper $schema */ |
|
44 | - $schema = $schemaClosure(); |
|
45 | - |
|
46 | - $table = $schema->getTable('calendarsubscriptions'); |
|
47 | - $column = $table->getColumn('source'); |
|
48 | - |
|
49 | - $column->setType(Type::getType(Type::TEXT)); |
|
50 | - $column->setLength(null); |
|
51 | - |
|
52 | - return $schema; |
|
53 | - } |
|
36 | + /** |
|
37 | + * @param IOutput $output |
|
38 | + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
39 | + * @param array $options |
|
40 | + * @return null|ISchemaWrapper |
|
41 | + */ |
|
42 | + public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
43 | + /** @var ISchemaWrapper $schema */ |
|
44 | + $schema = $schemaClosure(); |
|
45 | + |
|
46 | + $table = $schema->getTable('calendarsubscriptions'); |
|
47 | + $column = $table->getColumn('source'); |
|
48 | + |
|
49 | + $column->setType(Type::getType(Type::TEXT)); |
|
50 | + $column->setLength(null); |
|
51 | + |
|
52 | + return $schema; |
|
53 | + } |
|
54 | 54 | } |