From 05c667a41ecbcafc589c92035f2557187d5f3e5d Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Fri, 10 May 2024 17:51:06 +0700 Subject: [PATCH] Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (#307) --- CHANGELOG.md | 1 + src/Schema.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abb54123..daf70f0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 2.0.0 under development - Enh #289: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov) +- Chg #307: 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 beecabc4..5400c489 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -735,7 +735,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)]); } /**