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