From 94663f53341080e7c37e81e81a1191e02d16cc5e Mon Sep 17 00:00:00 2001 From: Tigrov Date: Fri, 10 May 2024 16:29:35 +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 031ba323..846332f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Enh #293: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov) - Chg #306: Remove parameter `$withColumn` from `Quoter::getTableNameParts()` method (@Tigrov) +- Chg #308: 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 109fb07a..5695c59e 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -907,7 +907,7 @@ private function loadTableConstraints(string $tableName, string $returnType): mi */ 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)]); } /**