mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
fix(Repair): Fix repair step compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f333c7f231
commit
3e46245eca
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue