<?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 Version20251105205607 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE tourapp.travel ADD opt_participant_document_passport BOOLEAN DEFAULT false NOT NULL');
$this->addSql('ALTER TABLE tourapp.travel ADD opt_participant_document_id BOOLEAN DEFAULT false NOT NULL');
$this->addSql('ALTER TABLE tourapp.travel ADD opt_participant_document_wait BOOLEAN DEFAULT false NOT NULL');
$this->addSql('ALTER TABLE tourapp.travel_members_participant ADD document_wait BOOLEAN DEFAULT false NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE tourapp.travel DROP opt_participant_document_passport');
$this->addSql('ALTER TABLE tourapp.travel DROP opt_participant_document_id');
$this->addSql('ALTER TABLE tourapp.travel DROP opt_participant_document_wait');
$this->addSql('ALTER TABLE tourapp.travel_members_participant DROP document_wait');
}
}