Skip to content

Commit

Permalink
Remove brackets from MSSQL table names (in Schema) (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdef committed Jan 19, 2023
1 parent 9071065 commit 8595b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Schema/AbstractSchema.php
Expand Up @@ -409,6 +409,8 @@ protected function getSchemaMetadata(string $schema, string $type, bool $refresh
$tableNames = $this->getTableNames($schema, $refresh);

foreach ($tableNames as $name) {
$name = $this->db->getQuoter()->quoteSimpleTableName($name);

if ($schema !== '') {
$name = $schema . '.' . $name;
}
Expand Down

0 comments on commit 8595b75

Please sign in to comment.