diff options
Diffstat (limited to 'apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php')
-rw-r--r-- | apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php index 6f344c2ee2d..50b38f81993 100644 --- a/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php +++ b/apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php @@ -26,7 +26,6 @@ declare(strict_types=1); namespace OCA\WorkflowEngine\Migration; use Doctrine\DBAL\Driver\Statement; -use OCA\WorkflowEngine\Entity\File; use OCP\IDBConnection; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -51,17 +50,6 @@ class PopulateNewlyIntroducedDatabaseFields implements IRepairStep { $this->populateScopeTable($result); $result->closeCursor(); - - $this->populateEntityCol(); - } - - protected function populateEntityCol() { - $qb = $this->dbc->getQueryBuilder(); - - $qb->update('flow_operations') - ->set('entity', $qb->createNamedParameter(File::class)) - ->where($qb->expr()->emptyString('entity')) - ->execute(); } protected function populateScopeTable(Statement $ids): void { |