<?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 Version20231121074751 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT INTO plg_entry_contact_status (id, name, sort_no, discriminator_type) VALUES (1, '未対応', 1, 'entrycontactstatus');");
$this->addSql("INSERT INTO plg_entry_contact_status (id, name, sort_no, discriminator_type) VALUES (2, '対応中', 2, 'entrycontactstatus');");
$this->addSql("INSERT INTO plg_entry_contact_status (id, name, sort_no, discriminator_type) VALUES (99, '対応完了', 99, 'entrycontactstatus');");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DELETE FROM plg_entry_contact_status WHERE id = ?", [3]);
}
}