Skip to content

Commit

Permalink
Merge pull request #4803 from morozov/remove-get-sequence-prefix
Browse files Browse the repository at this point in the history
Remove AbstractPlatform::getSequencePrefix()
  • Loading branch information
morozov authored Sep 19, 2021
2 parents c1bc279 + 5541417 commit 712f6c0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 712f6c0

Please sign in to comment.