From 0e7d120639bc118ea1089979d02aad2724d7ea79 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 19 Mar 2020 08:26:59 +0200 Subject: [PATCH] Updated upgrade script --- app/tasks/upgrade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/tasks/upgrade.php b/app/tasks/upgrade.php index 050651c323..959836be3e 100644 --- a/app/tasks/upgrade.php +++ b/app/tasks/upgrade.php @@ -141,6 +141,8 @@ function fixDocument(Document $document) { ->removeAttribute('$uid') ; + Console::log('Switched from $uid to $id: '.$document->getCollection().'/'.$document->getId()); + foreach($document as &$attr) { if($attr instanceof Document) { $attr = fixDocument($attr);