@@ 236-243 (lines=8) @@ | ||
233 | $sql .= $this->quoteTableName($table->getName()) . ' ('; |
|
234 | $sqlBuffer = []; |
|
235 | $columnsWithComments = []; |
|
236 | foreach ($columns as $column) { |
|
237 | $sqlBuffer[] = $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column); |
|
238 | ||
239 | // set column comments, if needed |
|
240 | if ($column->getComment()) { |
|
241 | $columnsWithComments[] = $column; |
|
242 | } |
|
243 | } |
|
244 | ||
245 | // set the primary key(s) |
|
246 | if (isset($options['primary_key'])) { |
@@ 218-225 (lines=8) @@ | ||
215 | $sql .= $this->quoteTableName($table->getName()) . ' ('; |
|
216 | ||
217 | $this->columnsWithComments = []; |
|
218 | foreach ($columns as $column) { |
|
219 | $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', '; |
|
220 | ||
221 | // set column comments, if needed |
|
222 | if ($column->getComment()) { |
|
223 | $this->columnsWithComments[] = $column; |
|
224 | } |
|
225 | } |
|
226 | ||
227 | // set the primary key(s) |
|
228 | if (isset($options['primary_key'])) { |