diff options
author | Joas Schilling <coding@schilljs.com> | 2023-02-20 14:44:42 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-02-23 16:57:54 +0100 |
commit | 6fb0da7e4fe9552e3b39f1f202514092b18993a3 (patch) | |
tree | a0e30cb930b804e1895801426e784658068a015d | |
parent | c8c4dd637f44704dd685a6dd43ee138a448a8236 (diff) | |
download | nextcloud-server-6fb0da7e4fe9552e3b39f1f202514092b18993a3.tar.gz nextcloud-server-6fb0da7e4fe9552e3b39f1f202514092b18993a3.zip |
fix(Repair): Fix repair step compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/dav/lib/Migration/RemoveObjectProperties.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/RemoveObjectProperties.php b/apps/dav/lib/Migration/RemoveObjectProperties.php index c72dfbebfea..b771b70e684 100644 --- a/apps/dav/lib/Migration/RemoveObjectProperties.php +++ b/apps/dav/lib/Migration/RemoveObjectProperties.php @@ -57,7 +57,7 @@ class RemoveObjectProperties implements IRepairStep { $query = $this->connection->getQueryBuilder(); $updated = $query->delete('properties') ->where($query->expr()->in('propertyname', $query->createNamedParameter([self::RESOURCE_TYPE_PROPERTY, self::ME_CARD_PROPERTY, self::CALENDAR_TRANSP_PROPERTY], IQueryBuilder::PARAM_STR_ARRAY))) - ->andWhere($query->expr()->eq('propertyvalue', $query->createNamedParameter('Object'))) + ->andWhere($query->expr()->eq('propertyvalue', $query->createNamedParameter('Object'), IQueryBuilder::PARAM_STR)) ->executeStatement(); $output->info("$updated invalid object properties removed."); |