@@ 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'])) { |
@@ 202-209 (lines=8) @@ | ||
199 | $sql .= $this->quoteTableName($table->getName()) . ' ('; |
|
200 | ||
201 | $this->columnsWithComments = []; |
|
202 | foreach ($columns as $column) { |
|
203 | $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', '; |
|
204 | ||
205 | // set column comments, if needed |
|
206 | if ($column->getComment()) { |
|
207 | $this->columnsWithComments[] = $column; |
|
208 | } |
|
209 | } |
|
210 | ||
211 | // set the primary key(s) |
|
212 | if (isset($options['primary_key'])) { |