Skip to content

Commit

Permalink
renamed as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jul 18, 2022
1 parent fda8cb8 commit a60239e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/Platforms/SqlitePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,22 @@ protected function _getCommonIntegerTypeDeclarationSQL(array $column)
*
* @deprecated Will be removed in DBAL 4.0.
*/
public function disableSchemaEmulation(bool $reenable = false): void
public function disableSchemaEmulation(): void
{
$this->schemaEmulationEnabled = $reenable;
$this->schemaEmulationEnabled = false;
}

/**
* Enables schema emulation.
*
* Schema emulation is enabled by default to maintain backwards compatibility.
* Disable it to opt-in to the behavior of DBAL 4.
*
* @deprecated Will be removed in DBAL 4.0.
*/
public function enableSchemaEmulation(): void
{
$this->schemaEmulationEnabled = true;
}

private function emulateSchemaNamespacing(string $tableName): string
Expand Down

0 comments on commit a60239e

Please sign in to comment.