From c9cbf4197cec749c6e3f97984c33ce65d9e07fba Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Sat, 21 Feb 2026 08:32:50 +0000 Subject: [PATCH] Add uuid to all models that support it --- app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php b/app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php index e20e33e0a..c1f98f485 100644 --- a/app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php +++ b/app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php @@ -29,6 +29,7 @@ namespace Transmogrify\Command; +use App\Command\UpgradeCommand; use App\Lib\Enum\SuspendableStatusEnum; use App\Lib\Traits\LabeledLogTrait; use App\Lib\Util\DBALConnection; @@ -522,6 +523,10 @@ public function execute(Arguments $args, ConsoleIo $io): int $this->cmdPrinter->pause(); } + // Assign UUIDs for all clonable models + $this->cmdPrinter->out('Running assignUuids task via UpgradeCommand...'); + $this->executeCommand(UpgradeCommand::class, ['-D', '-X', '-t', 'assignUuids'], $this->io); + return BaseCommand::CODE_SUCCESS; }