|
@@ -680,7 +680,7 @@ |
|
|
block discarded – undo |
|
680
|
680
|
$this->logs .= "done ({$time}s)\n"; |
|
681
|
681
|
$tableSchema = $schema->getTableSchema($tableName, true); |
|
682
|
682
|
$columnExists = isset($tableSchema->columns[$columnName]); |
|
683
|
|
- }elseif (!$columnExists && 1 !== $mode) { |
|
|
683
|
+ } elseif (!$columnExists && 1 !== $mode) { |
|
684
|
684
|
$this->logs .= " > add column: $tableName:$columnName ... "; |
|
685
|
685
|
$start = microtime(true); |
|
686
|
686
|
$dbCommand->addColumn($tableName, $columnName, $column)->execute(); |
Please login to merge, or discard this patch.