@@ 571-577 (lines=7) @@ | ||
568 | } |
|
569 | } |
|
570 | ||
571 | if ($columnDiff->hasChanged('comment')) { |
|
572 | $commentsSQL[] = $this->getCommentOnColumnSQL( |
|
573 | $diff->getName($this)->getQuotedName($this), |
|
574 | $column->getQuotedName($this), |
|
575 | $this->getColumnComment($column) |
|
576 | ); |
|
577 | } |
|
578 | ||
579 | if ($columnDiff->hasChanged('length')) { |
|
580 | $query = 'ALTER ' . $oldColumnName . ' TYPE ' . $column->getType()->getSQLDeclaration($column->toArray(), $this); |
@@ 176-184 (lines=9) @@ | ||
173 | $alterClauses[] = $alterClause; |
|
174 | } |
|
175 | ||
176 | if ($columnDiff->hasChanged('comment')) { |
|
177 | $column = $columnDiff->column; |
|
178 | ||
179 | $commentsSQL[] = $this->getCommentOnColumnSQL( |
|
180 | $diff->getName($this)->getQuotedName($this), |
|
181 | $column->getQuotedName($this), |
|
182 | $this->getColumnComment($column) |
|
183 | ); |
|
184 | } |
|
185 | } |
|
186 | ||
187 | foreach ($diff->renamedColumns as $oldColumnName => $column) { |