<?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 Version20220602232749 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
$this->addSql('ALTER TABLE orders ADD orderer_name VARCHAR(100) NOT NULL, ADD orderer_kana VARCHAR(100) NOT NULL, ADD orderer_zip VARCHAR(100) NOT NULL, ADD orderer_addr VARCHAR(100) NOT NULL, ADD orderer_tel VARCHAR(100) NOT NULL, ADD sender_email VARCHAR(100) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE orders DROP orderer_name, DROP orderer_kana, DROP orderer_zip, DROP orderer_addr, DROP orderer_tel, DROP sender_email');
}
}