@@ 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'])) { |
@@ 214-221 (lines=8) @@ | ||
211 | $sql .= $this->quoteTableName($table->getName()) . ' ('; |
|
212 | ||
213 | $this->columnsWithComments = []; |
|
214 | foreach ($columns as $column) { |
|
215 | $sql .= $this->quoteColumnName($column->getName()) . ' ' . $this->getColumnSqlDefinition($column) . ', '; |
|
216 | ||
217 | // set column comments, if needed |
|
218 | if ($column->getComment()) { |
|
219 | $this->columnsWithComments[] = $column; |
|
220 | } |
|
221 | } |
|
222 | ||
223 | // set the primary key(s) |
|
224 | if (isset($options['primary_key'])) { |