<?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 Version20220204065505 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 inquiry_contact ADD kana VARCHAR(48) DEFAULT NULL, ADD phone VARCHAR(24) DEFAULT NULL, ADD postal1 VARCHAR(3) DEFAULT NULL, ADD postal2 VARCHAR(4) DEFAULT NULL, ADD addr_pref VARCHAR(8) DEFAULT NULL, ADD addr_city VARCHAR(24) DEFAULT NULL, ADD addr_town VARCHAR(48) DEFAULT NULL, ADD addr_build VARCHAR(48) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE inquiry_contact DROP kana, DROP phone, DROP postal1, DROP postal2, DROP addr_pref, DROP addr_city, DROP addr_town, DROP addr_build');
}
}