Also quote old column name during DB migration
This fixes alter table commands that didn't quote the old column name
This commit is contained in:
parent
230e5e3788
commit
22adc397de
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ class MDB2SchemaManager {
|
|||
$platform = $this->conn->getDatabasePlatform();
|
||||
foreach($schemaDiff->changedTables as $tableDiff) {
|
||||
$tableDiff->name = $platform->quoteIdentifier($tableDiff->name);
|
||||
foreach($tableDiff->changedColumns as $column) {
|
||||
$column->oldColumnName = $platform->quoteIdentifier($column->oldColumnName);
|
||||
}
|
||||
}
|
||||
|
||||
if ($generateSql) {
|
||||
|
|
Loading…
Reference in a new issue