@@ -123,7 +123,7 @@ |
||
| 123 | 123 | foreach (array_reverse($alter) as $index) { |
| 124 | 124 | // Can't alter primary keys |
| 125 | 125 | if ($index->type !== 'PRIMARY') { |
| 126 | - $queries[] = $this->driver->sqlForCreateIndex($table, $index->type, |
|
| 126 | + $queries[] = $this->driver->sqlForCreateIndex($table, $index->type, |
|
| 127 | 127 | $index->name, '(' . implode(', ', $index->columns) . ')'); |
| 128 | 128 | } |
| 129 | 129 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | $clauses = []; |
| 53 | 53 | foreach ($tableAttrs->fields as $field) { |
| 54 | 54 | if ($field[1]) { |
| 55 | - $clauses[] = ($field[0] != '' ? $field[1] : 'ADD ' . implode($field[1])); |
|
| 55 | + $clauses[] = ($field[0] != '' ? $field[1] : 'ADD ' . implode($field[1])); |
|
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | return $clauses; |