<?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 Version20240604114732 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$sql = <<<SQL
INSERT INTO `mtb_estimate_item_type` (`id`, `name`, `sort_no`, `discriminator_type`) VALUES
(7, 'カッティングステッカー基本加工手数料', 6, 'estimateitemtype'),
(8, 'データ変換', 7, 'estimateitemtype'),
(9, '書体サンプル加工', 8, 'estimateitemtype'),
(10, 'データ修正・加工', 9, 'estimateitemtype'),
(11, 'デザイン清書', 10, 'estimateitemtype'),
(12, 'データ納品', 11, 'estimateitemtype'),
(13, 'デザイン考案', 12, 'estimateitemtype'),
(14, 'スキージー・マスキングのセット', 13, 'estimateitemtype'),
(15, 'スキージー', 14, 'estimateitemtype'),
(16, '材料取り寄せ', 15, 'estimateitemtype');
SQL;
$this->addSql($sql);
}
public function down(Schema $schema): void
{
$this->addSql("DELETE FROM `mtb_estimate_item_type` WHERE id IN(7, 8, 9, 10, 11, 12, 13, 14, 15, 16)");
}
}