<?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 Version20240621074619 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT INTO mtb_order_status (
id, name, sort_no, discriminator_type) VALUES
(10, '次回出品', 10, 'commenttype'),
(11, '保留',11, 'commenttype'),
(12, '交渉中', 12, 'commenttype'),
(13, '成約', 13, 'commenttype');
");
}
public function down(Schema $schema): void
{
$this->addSql("DELETE FROM mtb_order_status WHERE id IN (10, 11, 12, 13)");
}
}