<?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 Version20220728180132 extends AbstractMigration
{
public function getDescription(): string
{
return 'New templates for unsold objects';
}
public function up(Schema $schema): void
{
$this->addSql("UPDATE notification_template SET identifier = 'BID_CONFIRMATION_OUTBID_AUTOBID_NOR' WHERE identifier = 'BID_CONFIRMATION_LEADING_NOT_AUTOBID_NOR';");
$this->addSql("UPDATE notification_template SET identifier = 'BID_CONFIRMATION_OUTBID_AUTOBID_ENG' WHERE identifier = 'BID_CONFIRMATION_LEADING_NOT_AUTOBID_ENG';");
}
public function down(Schema $schema): void
{
$this->addSql("UPDATE notification_template SET identifier = 'BID_CONFIRMATION_LEADING_NOT_AUTOBID_NOR' WHERE identifier = 'BID_CONFIRMATION_OUTBID_AUTOBID_NOR';");
$this->addSql("UPDATE notification_template SET identifier = 'BID_CONFIRMATION_LEADING_NOT_AUTOBID_ENG' WHERE identifier = 'BID_CONFIRMATION_OUTBID_AUTOBID_ENG';");
}
}