Skip to content

Commit 6fb0da7

Browse files
committed
fix(Repair): Fix repair step compatibility with Oracle DB
Signed-off-by: Joas Schilling <[email protected]>
1 parent c8c4dd6 commit 6fb0da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dav/lib/Migration/RemoveObjectProperties.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function run(IOutput $output) {
5757
$query = $this->connection->getQueryBuilder();
5858
$updated = $query->delete('properties')
5959
->where($query->expr()->in('propertyname', $query->createNamedParameter([self::RESOURCE_TYPE_PROPERTY, self::ME_CARD_PROPERTY, self::CALENDAR_TRANSP_PROPERTY], IQueryBuilder::PARAM_STR_ARRAY)))
60-
->andWhere($query->expr()->eq('propertyvalue', $query->createNamedParameter('Object')))
60+
->andWhere($query->expr()->eq('propertyvalue', $query->createNamedParameter('Object'), IQueryBuilder::PARAM_STR))
6161
->executeStatement();
6262

6363
$output->info("$updated invalid object properties removed.");

0 commit comments

Comments
 (0)