lib/Doctrine/DBAL/Platforms/AbstractPlatform.php 1 location
|
@@ 1591-1593 (lines=3) @@
|
| 1588 |
|
foreach ($table->getColumns() as $column) { |
| 1589 |
|
$comment = $this->getColumnComment($column); |
| 1590 |
|
|
| 1591 |
|
if (null !== $comment && '' !== $comment) { |
| 1592 |
|
$sql[] = $this->getCommentOnColumnSQL($tableName, $column->getQuotedName($this), $comment); |
| 1593 |
|
} |
| 1594 |
|
} |
| 1595 |
|
} |
| 1596 |
|
|
lib/Doctrine/DBAL/Platforms/DB2Platform.php 1 location
|
@@ 526-532 (lines=7) @@
|
| 523 |
|
|
| 524 |
|
$comment = $this->getColumnComment($column); |
| 525 |
|
|
| 526 |
|
if (null !== $comment && '' !== $comment) { |
| 527 |
|
$commentsSQL[] = $this->getCommentOnColumnSQL( |
| 528 |
|
$diff->getName($this)->getQuotedName($this), |
| 529 |
|
$column->getQuotedName($this), |
| 530 |
|
$comment |
| 531 |
|
); |
| 532 |
|
} |
| 533 |
|
} |
| 534 |
|
|
| 535 |
|
foreach ($diff->removedColumns as $column) { |
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php 1 location
|
@@ 146-152 (lines=7) @@
|
| 143 |
|
|
| 144 |
|
$comment = $this->getColumnComment($column); |
| 145 |
|
|
| 146 |
|
if (null !== $comment && '' !== $comment) { |
| 147 |
|
$commentsSQL[] = $this->getCommentOnColumnSQL( |
| 148 |
|
$diff->getName($this)->getQuotedName($this), |
| 149 |
|
$column->getQuotedName($this), |
| 150 |
|
$comment |
| 151 |
|
); |
| 152 |
|
} |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
/** @var \Doctrine\DBAL\Schema\Column $column */ |
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location
|
@@ 506-512 (lines=7) @@
|
| 503 |
|
|
| 504 |
|
$comment = $this->getColumnComment($column); |
| 505 |
|
|
| 506 |
|
if (null !== $comment && '' !== $comment) { |
| 507 |
|
$commentsSQL[] = $this->getCommentOnColumnSQL( |
| 508 |
|
$diff->getName($this)->getQuotedName($this), |
| 509 |
|
$column->getQuotedName($this), |
| 510 |
|
$comment |
| 511 |
|
); |
| 512 |
|
} |
| 513 |
|
} |
| 514 |
|
|
| 515 |
|
foreach ($diff->removedColumns as $column) { |