@@ -246,10 +246,10 @@ discard block |
||
246 | 246 | } |
247 | 247 | |
248 | 248 | //Empty insert |
249 | - if(empty($columns) && !empty($columnSchemas)){ |
|
249 | + if (empty($columns) && !empty($columnSchemas)) { |
|
250 | 250 | $columns = []; |
251 | 251 | foreach ($columnSchemas as $columnSchema) { |
252 | - if(!$columnSchema->autoIncrement){ |
|
252 | + if (!$columnSchema->autoIncrement) { |
|
253 | 253 | $columns[$columnSchema->name] = $columnSchema->defaultValue; |
254 | 254 | } |
255 | 255 | } |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | |
392 | 392 | $baseSql = 'ALTER TABLE ' . $this->db->quoteTableName($table) |
393 | 393 | . ' ALTER ' . $this->db->quoteColumnName($column) |
394 | - . (($hasType) ? ' TYPE ' : ' ') . $this->getColumnType($type); |
|
394 | + . (($hasType) ? ' TYPE ' : ' ') . $this->getColumnType($type); |
|
395 | 395 | |
396 | 396 | if ($columnSchema->allowNull == $allowNullNewType) { |
397 | 397 | return $baseSql; |