<?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 Version20240731032339 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('DELETE FROM mtb_order_status WHERE id IN (7,8)');
}
public function down(Schema $schema): void
{
$this->addSql("INSERT INTO `mtb_order_status` (`id`, `name`, `sort_no`, `discriminator_type`)
VALUES
(7, '決済処理中', 7, 'orderitemproducttype'),
(8, '購入書処理中', 8, 'orderitemproducttype')
;");
}
}