<?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 Version20241014093359 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 reservation ADD birthday_customer_comment LONGTEXT DEFAULT NULL, CHANGE child_name child_name LONGTEXT DEFAULT NULL, CHANGE child_birthday child_birthday LONGTEXT DEFAULT NULL, CHANGE child_age child_age LONGTEXT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE reservation DROP birthday_customer_comment, CHANGE child_name child_name VARCHAR(64) DEFAULT NULL, CHANGE child_birthday child_birthday VARCHAR(12) DEFAULT NULL, CHANGE child_age child_age VARCHAR(12) DEFAULT NULL');
}
}