From 7d08ac83e78df9f3da08932504565964e7f0560d Mon Sep 17 00:00:00 2001 From: Tigrov Date: Fri, 10 May 2024 16:29:41 +0700 Subject: [PATCH] Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` --- CHANGELOG.md | 1 + src/Schema.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad0621a3f..b80cad409 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Enh #320: Minor refactoring of `DDLQueryBuilder::getColumnDefinition()` method (@Tigrov) - Bug #320: Change visibility of `DDLQueryBuilder::getColumnDefinition()` method to `private` (@Tigrov) - Enh #321: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov) +- Chg #339: Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (@Tigrov) ## 1.2.0 March 21, 2024 diff --git a/src/Schema.php b/src/Schema.php index 65ea501fd..dc32199f2 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -415,7 +415,7 @@ protected function findViewNames(string $schema = ''): array */ protected function getCacheKey(string $name): array { - return array_merge([self::class], $this->generateCacheKey(), [$this->getRawTableName($name)]); + return array_merge([self::class], $this->generateCacheKey(), [$this->db->getQuoter()->getRawTableName($name)]); } /**