src/Migrations/Version20210810195513.php line 1
<?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 Version20210810195513 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 olymp_online_participant ADD ai_ovz_status TINYINT(1) DEFAULT NULL, ADD ai_clothes_sizes JSON DEFAULT NULL, ADD ai_food JSON DEFAULT NULL, ADD ai_food_other LONGTEXT DEFAULT NULL, ADD ai_allergy LONGTEXT DEFAULT NULL, ADD ai_hobby 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 olymp_online_participant DROP ai_ovz_status, DROP ai_clothes_sizes, DROP ai_food, DROP ai_food_other, DROP ai_allergy, DROP ai_hobby');
}
}