<?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 Version20220730121015 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 visiting_card ADD name_visible TINYINT(1) DEFAULT NULL, ADD city_visible TINYINT(1) DEFAULT NULL, ADD post_code_visible TINYINT(1) DEFAULT NULL, ADD street_visible TINYINT(1) DEFAULT NULL, ADD street_number_visible TINYINT(1) DEFAULT NULL, ADD street_local_visible TINYINT(1) DEFAULT NULL, ADD custom_field_visible TINYINT(1) DEFAULT NULL, ADD custom_field_name_visible TINYINT(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE visiting_card DROP name_visible, DROP city_visible, DROP post_code_visible, DROP street_visible, DROP street_number_visible, DROP street_local_visible, DROP custom_field_visible, DROP custom_field_name_visible');
}
}