From 5541417bd056cb9e7d9683c76a737d766cc501bc Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Sun, 19 Sep 2021 10:31:47 -0700 Subject: [PATCH] Remove AbstractPlatform::getSequencePrefix() --- src/Platforms/AbstractPlatform.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Platforms/AbstractPlatform.php b/src/Platforms/AbstractPlatform.php index 04fa744af63..4ac44042fc0 100644 --- a/src/Platforms/AbstractPlatform.php +++ b/src/Platforms/AbstractPlatform.php @@ -2265,21 +2265,6 @@ public function usesSequenceEmulatedIdentityColumns(): bool return false; } - /** - * Gets the sequence name prefix based on table information. - */ - public function getSequencePrefix(string $tableName, ?string $schemaName = null): string - { - if ($schemaName === null) { - return $tableName; - } - - // Prepend the schema name to the table name if there is one - return ! $this->supportsSchemas() && $this->canEmulateSchemas() - ? $schemaName . '__' . $tableName - : $schemaName . '.' . $tableName; - } - /** * Returns the name of the sequence for a particular identity column in a particular table. *