From 9022768f49a38f6db0ba773fa5d498f1883b4e4b Mon Sep 17 00:00:00 2001 From: Tofandel Date: Thu, 29 Jun 2023 14:31:29 +0200 Subject: [PATCH] Debug --- src/Platforms/SQLServerPlatform.php | 2 ++ tests/Functional/Schema/SchemaManagerFunctionalTestCase.php | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platforms/SQLServerPlatform.php b/src/Platforms/SQLServerPlatform.php index 0ab96246801..fa26ad33065 100644 --- a/src/Platforms/SQLServerPlatform.php +++ b/src/Platforms/SQLServerPlatform.php @@ -573,6 +573,8 @@ public function getAlterTableSQL(TableDiff $diff) $oldColumnName = $oldColumn->getQuotedName($this); if ($oldColumnName !== $newColumnName) { + var_dump($oldColumnName); + var_dump($newColumnName); $sql[] = "sp_rename '" . $tableNameSQL . '.' . $oldColumnName . "', '" . $newColumnName . "', 'COLUMN'"; } diff --git a/tests/Functional/Schema/SchemaManagerFunctionalTestCase.php b/tests/Functional/Schema/SchemaManagerFunctionalTestCase.php index 0f6e6bd2486..9ea7d595002 100644 --- a/tests/Functional/Schema/SchemaManagerFunctionalTestCase.php +++ b/tests/Functional/Schema/SchemaManagerFunctionalTestCase.php @@ -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');