Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel committed Jun 29, 2023
1 parent 57b5866 commit 9022768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Platforms/SQLServerPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,8 @@ public function getAlterTableSQL(TableDiff $diff)

$oldColumnName = $oldColumn->getQuotedName($this);
if ($oldColumnName !== $newColumnName) {
var_dump($oldColumnName);

Check failure on line 576 in src/Platforms/SQLServerPlatform.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (8.2)

Function var_dump() should not be referenced via a fallback global name, but via a use statement.
var_dump($newColumnName);

Check failure on line 577 in src/Platforms/SQLServerPlatform.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (8.2)

Function var_dump() should not be referenced via a fallback global name, but via a use statement.
$sql[] = "sp_rename '" . $tableNameSQL . '.' . $oldColumnName .
"', '" . $newColumnName . "', 'COLUMN'";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,6 @@ public function testAlterColumnComment(
self::assertInstanceOf(TableDiff::class, $tableDiff);

$this->schemaManager->alterTable($tableDiff);
var_dump($tableDiff);

$onlineTable = $this->schemaManager->introspectTable('alter_column_comment_test');

Expand Down

0 comments on commit 9022768

Please sign in to comment.