core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location
|
@@ 594-600 (lines=7) @@
|
| 591 |
|
} |
| 592 |
|
} |
| 593 |
|
|
| 594 |
|
if ($columnDiff->hasChanged('comment')) { |
| 595 |
|
$commentsSQL[] = $this->getCommentOnColumnSQL( |
| 596 |
|
$diff->getName($this)->getQuotedName($this), |
| 597 |
|
$column->getQuotedName($this), |
| 598 |
|
$this->getColumnComment($column) |
| 599 |
|
); |
| 600 |
|
} |
| 601 |
|
|
| 602 |
|
if ($columnDiff->hasChanged('length')) { |
| 603 |
|
$query = 'ALTER ' . $oldColumnName . ' TYPE ' . $column->getType()->getSQLDeclaration($column->toArray(), $this); |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php 1 location
|
@@ 190-198 (lines=9) @@
|
| 187 |
|
$alterClauses[] = $alterClause; |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
if ($columnDiff->hasChanged('comment')) { |
| 191 |
|
$column = $columnDiff->column; |
| 192 |
|
|
| 193 |
|
$commentsSQL[] = $this->getCommentOnColumnSQL( |
| 194 |
|
$diff->getName($this)->getQuotedName($this), |
| 195 |
|
$column->getQuotedName($this), |
| 196 |
|
$this->getColumnComment($column) |
| 197 |
|
); |
| 198 |
|
} |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
foreach ($diff->renamedColumns as $oldColumnName => $column) { |