-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make column and index renaming configurable
- Loading branch information
Showing
6 changed files
with
92 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\DBAL\Schema; | ||
|
||
class ComparatorConfig | ||
{ | ||
protected bool $detectRenamedColumns = true; | ||
|
||
protected bool $detectRenamedIndexes = true; | ||
|
||
public function setDetectRenamedColumns(bool $detectRenamedColumns): void | ||
{ | ||
$this->detectRenamedColumns = $detectRenamedColumns; | ||
} | ||
|
||
public function getDetectRenamedColumns(): bool | ||
{ | ||
return $this->detectRenamedColumns; | ||
} | ||
|
||
public function setDetectRenamedIndexes(bool $detectRenamedIndexes): void | ||
{ | ||
$this->detectRenamedIndexes = $detectRenamedIndexes; | ||
} | ||
|
||
public function getDetectRenamedIndexes(): bool | ||
{ | ||
return $this->detectRenamedIndexes; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters