summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-10 10:30:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-10 10:47:31 +0200
commit24cfee8cdd7b83d6effe48184aa69360a768ecbc (patch)
tree6d6c6c2d4efe30639c510f5c3a95fc9cc8216bc2 /core/Migrations
parent323ee3cbdc420f1009b6eb64b2df0f878ff39a14 (diff)
downloadnextcloud-server-24cfee8cdd7b83d6effe48184aa69360a768ecbc.tar.gz
nextcloud-server-24cfee8cdd7b83d6effe48184aa69360a768ecbc.zip
Also make it the uid_lower migration work on oracle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version14000Date20180404140050.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version14000Date20180404140050.php b/core/Migrations/Version14000Date20180404140050.php
index 01d56f511ff..d7077caa149 100644
--- a/core/Migrations/Version14000Date20180404140050.php
+++ b/core/Migrations/Version14000Date20180404140050.php
@@ -74,7 +74,7 @@ class Version14000Date20180404140050 extends SimpleMigrationStep {
$qb = $this->connection->getQueryBuilder();
$qb->update('users')
- ->set('uid_lower', $qb->createFunction('LOWER(`uid`)'));
+ ->set('uid_lower', $qb->func()->lower('uid'));
$qb->execute();
}
}