<?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 Version20240611023647 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$sql = <<<SQL
INSERT INTO `mtb_estimate_item_option_type` (`id`, `name`, `sort_no`, `discriminator_type`) VALUES
(10, '割引率', 0, 'estimateitemtype'),
(11, '割引額', 1, 'estimateitemtype')
SQL;
$this->addSql($sql);
}
public function down(Schema $schema): void
{
$this->addSql("DELETE FROM `mtb_estimate_item_option_type` WHERE id IN(10, 11)");
}
}