Change migration name
parent
eb647078ca
commit
56003409e6
|
@ -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'];
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue