Merge pull request #9128 from nextcloud/bugfix/9076/make_oracle_happy

Also make the uid_lower migration work on oracle
This commit is contained in:
Roeland Jago Douma 2018-04-11 00:41:53 +02:00 committed by GitHub
commit a3c2035674
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}