<?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 Version20240721170223 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$sql = <<<SQL
INSERT INTO `dtb_mail_template` (`id`, `creator_id`, `name`, `file_name`, `mail_subject`, `create_date`, `update_date`, `discriminator_type`) VALUES
('12', NULL, '見積申込メール', 'Mail/estimate_request.twig', '御見積申込ありがとうございます', NOW(), NOW(), 'mailtemplate')
SQL;
$this->addSql($sql);
}
public function down(Schema $schema): void
{
$this->addSql('DELETE FROM dtb_mail_template WHERE id = 12');
}
}