@@ -105,9 +105,9 @@ |
||
| 105 | 105 | $table->addColumn($columnName, $type, $options); |
| 106 | 106 | |
| 107 | 107 | if ($pk) { |
| 108 | - $table->setPrimaryKey([ $columnName ]); |
|
| 108 | + $table->setPrimaryKey([$columnName]); |
|
| 109 | 109 | } elseif ($index) { |
| 110 | - $table->addIndex([ $columnName ]); |
|
| 110 | + $table->addIndex([$columnName]); |
|
| 111 | 111 | } |
| 112 | 112 | } |
| 113 | 113 | |