Skip to content

Commit

Permalink
Add uuid to all models that support it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Feb 21, 2026
1 parent 3519928 commit 87fdd75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 87fdd75

Please sign in to comment.