Change migration name

feature/organizational-unit-hierarchy
Manuel Aranda Rosales 2024-07-29 09:07:11 +02:00
parent eb647078ca
commit 56003409e6
3 changed files with 3 additions and 2 deletions

View File

@ -62,6 +62,7 @@ class MigrateClientsCommand extends Command
$clientEntity->setNetdriver($client['netdriver']); $clientEntity->setNetdriver($client['netdriver']);
$clientEntity->setMac($client['mac']); $clientEntity->setMac($client['mac']);
$clientEntity->setIp($client['ip']); $clientEntity->setIp($client['ip']);
$clientEntity->setPosition(['x' => 0, 'y' => 0]);
} }
$migrationId = $client['ordenadores.grupoid'] === 0 ? $client['ordenadores.idaula'] : $client['ordenadores.grupoid']; $migrationId = $client['ordenadores.grupoid'] === 0 ? $client['ordenadores.idaula'] : $client['ordenadores.grupoid'];

View File

@ -14,7 +14,7 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
#[AsCommand(name: 'opengnsys:migrate-hardware-profile', description: 'Migrate hardware and hardware profile data')] #[AsCommand(name: 'opengnsys:migration:hardware-profile', description: 'Migrate hardware and hardware profile data')]
class MigrateHardwareAndHardwareProfileCommand extends Command class MigrateHardwareAndHardwareProfileCommand extends Command
{ {
public function __construct( public function __construct(

View File

@ -13,7 +13,7 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
#[AsCommand(name: 'opengnsys:migrate-software-profile', description: 'Migrate software and software profile data')] #[AsCommand(name: 'opengnsys:migration:software-profile', description: 'Migrate software and software profile data')]
class MigrateSoftwareAndSoftwareProfileCommand extends Command class MigrateSoftwareAndSoftwareProfileCommand extends Command
{ {
public function __construct( public function __construct(