Browse Source

Also make it the uid_lower migration work on oracle

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/9128/head
Roeland Jago Douma 8 years ago
parent
commit
24cfee8cdd
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 2
      core/Migrations/Version14000Date20180404140050.php

2
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();
}
}
Loading…
Cancel
Save