Also quote old column name during DB migration

This fixes alter table commands that didn't quote the old column name
remotes/origin/ldap_group_count
Vincent Petry 11 years ago committed by Thomas Müller
parent 230e5e3788
commit 22adc397de
  1. 3
      lib/private/db/mdb2schemamanager.php

@ -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…
Cancel
Save