@@ -33,22 +33,22 @@ |
||
| 33 | 33 | |
| 34 | 34 | class Version1008Date20181030113700 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(); |
|
| 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 | 45 | |
| 46 | - $table = $schema->getTable('cards'); |
|
| 47 | - $table->addColumn('uid', Type::STRING, [ |
|
| 48 | - 'notnull' => false, |
|
| 49 | - 'length' => 255 |
|
| 50 | - ]); |
|
| 46 | + $table = $schema->getTable('cards'); |
|
| 47 | + $table->addColumn('uid', Type::STRING, [ |
|
| 48 | + 'notnull' => false, |
|
| 49 | + 'length' => 255 |
|
| 50 | + ]); |
|
| 51 | 51 | |
| 52 | - return $schema; |
|
| 53 | - } |
|
| 52 | + return $schema; |
|
| 53 | + } |
|
| 54 | 54 | } |