@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | else { |
147 | 147 | if (!$column->getNotnull() && $this->nullProbabilityOccured()){ |
148 | 148 | $value = null; |
149 | - }else{ |
|
149 | + } else{ |
|
150 | 150 | $generator = $this->generatorFinder->findGenerator($table, $column); |
151 | 151 | $value = $generator($column); |
152 | 152 | } |
@@ -289,8 +289,9 @@ discard block |
||
289 | 289 | $tables = $this->schemaManager->listTables(); |
290 | 290 | foreach ($tables as $table){ |
291 | 291 | foreach ($table->getIndexes() as $index){ |
292 | - if ($index->isUnique() && count($index->getColumns()) > 1) |
|
293 | - $this->multipleUniqueContraintStore[$table->getName()][] = $index; |
|
292 | + if ($index->isUnique() && count($index->getColumns()) > 1) { |
|
293 | + $this->multipleUniqueContraintStore[$table->getName()][] = $index; |
|
294 | + } |
|
294 | 295 | $this->schemaManager->dropIndex($index->getName(), $table->getName()); |
295 | 296 | } |
296 | 297 | } |