<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220920095340 extends AbstractMigration
{
public function getDescription(): string
{
return 'update emails';
}
public function up(Schema $schema): void
{
$this->addSql('UPDATE `user` set email = "carl@avt_web.com" where email = "carl@octal.digital" limit 1');
$this->addSql('UPDATE `user` set email = "gra@avt_web.com" where email = "gra@octal.digital" limit 1');
$this->addSql('UPDATE `user` set email = "lee@avt_web.com" where email = "lee@octal.digital" limit 1');
$this->addSql('UPDATE `user` set email = "pete@avt_web.com" where email = "pete@octal.digital" limit 1');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}