We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe4ec07 commit a94d51eCopy full SHA for a94d51e
1 file changed
lib/Db/V9/TableManager.php
@@ -769,8 +769,9 @@ public function migrateShareLabels(): array {
769
770
$qb->update($tableName)
771
->set('display_name', $affectedColumn)
772
+ ->where($qb->expr()->eq($prefixedTableName . '.' . 'type', $qb->expr()->literal(Share::TYPE_PUBLIC)))
773
->andWhere($qb->expr()->isNotNull($prefixedTableName . '.' . $affectedColumn))
- ->andWhere($qb->expr()->eq($prefixedTableName . '.' . $affectedColumn, $qb->expr()->literal('')));
774
+ ->andWhere($qb->expr()->neq($prefixedTableName . '.' . $affectedColumn, $qb->expr()->literal('')));
775
$updated = $qb->executeStatement();
776
777
if ($updated === 0) {
0 commit comments