| @@ 234-241 (lines=8) @@ | ||
| 231 |         $sql .= $this->quoteTableName($table->getName()) . ' ('; | |
| 232 | $sqlBuffer = []; | |
| 233 | $columnsWithComments = []; | |
| 234 |         foreach ($columns as $column) { | |
| 235 | $sqlBuffer[] = $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column); | |
| 236 | ||
| 237 | // set column comments, if needed | |
| 238 |             if ($column->getComment()) { | |
| 239 | $columnsWithComments[] = $column; | |
| 240 | } | |
| 241 | } | |
| 242 | ||
| 243 | // set the primary key(s) | |
| 244 |         if (isset($options['primary_key'])) { | |
| @@ 205-212 (lines=8) @@ | ||
| 202 |         $sql .= $this->quoteTableName($table->getName()) . ' ('; | |
| 203 | ||
| 204 | $this->columnsWithComments = []; | |
| 205 |         foreach ($columns as $column) { | |
| 206 | $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', '; | |
| 207 | ||
| 208 | // set column comments, if needed | |
| 209 |             if ($column->getComment()) { | |
| 210 | $this->columnsWithComments[] = $column; | |
| 211 | } | |
| 212 | } | |
| 213 | ||
| 214 | // set the primary key(s) | |
| 215 |         if (isset($options['primary_key'])) { | |