<?php
declare(strict_types=1);
namespace Application\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210526092130 extends AbstractMigration
{
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE legal_entity SET legal_entity.name = legal_entity.licensing_company_name WHERE legal_entity.name != legal_entity.licensing_company_name AND legal_entity.member = 0');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}