summaryrefslogtreecommitdiffstats
path: root/lib/private/db/migrator.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-11 15:10:09 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-03 11:18:45 +0200
commita59f6818ebeffa23ad1b66652179f3592bd4931d (patch)
treebe3c9a5ce3cccf1097932c0e6b913aae5129a233 /lib/private/db/migrator.php
parent4d7045e7015c85030c9b37137955fa09db1f866f (diff)
downloadnextcloud-server-a59f6818ebeffa23ad1b66652179f3592bd4931d.tar.gz
nextcloud-server-a59f6818ebeffa23ad1b66652179f3592bd4931d.zip
Only quote identifiers for oracle during migration
Diffstat (limited to 'lib/private/db/migrator.php')
-rw-r--r--lib/private/db/migrator.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/private/db/migrator.php b/lib/private/db/migrator.php
index 917f92f64b6..5dd7735dfc6 100644
--- a/lib/private/db/migrator.php
+++ b/lib/private/db/migrator.php
@@ -144,16 +144,7 @@ class Migrator {
}
$comparator = new Comparator();
- $schemaDiff = $comparator->compare($sourceSchema, $targetSchema);
-
- foreach ($schemaDiff->changedTables as $tableDiff) {
- $tableDiff->name = $this->connection->quoteIdentifier($tableDiff->name);
- foreach ($tableDiff->changedColumns as $column) {
- $column->oldColumnName = $this->connection->quoteIdentifier($column->oldColumnName);
- }
- }
-
- return $schemaDiff;
+ return $comparator->compare($sourceSchema, $targetSchema);
}
/**