From c6fb0d518d0ed2395c85f247da9dd3d2923a5d98 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Fri, 10 May 2024 16:29:26 +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 dfa9f2dc3..ff2b27051 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 2.0.0 under development - Enh #336: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov) +- Chg #348: Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (@Tigrov) ## 1.3.0 March 21, 2024 diff --git a/src/Schema.php b/src/Schema.php index 115878d05..913eabcb3 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -1067,7 +1067,7 @@ private function createColumnSchema(string $name): ColumnSchema */ 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)]); } /**