<?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 Version20220822152615 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 users DROP token');
$this->addSql('ALTER TABLE visiting_card ADD open_hours_alternative LONGTEXT DEFAULT NULL, ADD map_visible TINYINT(1) DEFAULT NULL, ADD address_visible TINYINT(1) DEFAULT NULL, ADD long_description_visible TINYINT(1) DEFAULT NULL, ADD tag_visible TINYINT(1) DEFAULT NULL, ADD flag_visible TINYINT(1) DEFAULT NULL, ADD pictogram_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 users ADD token VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE visiting_card DROP open_hours_alternative, DROP map_visible, DROP address_visible, DROP long_description_visible, DROP tag_visible, DROP flag_visible, DROP pictogram_visible');
}
}