src/Migrations/Version20210717160342.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20210717160342 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_category ADD participant_types JSON DEFAULT NULL');$this->addSql('ALTER TABLE olymp_online_direction DROP interval_from, DROP interval_to, DROP apply_button, DROP apply_description, DROP ti_from, DROP ti_to, DROP ro_from, DROP ro_to');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE olymp_online_category DROP participant_types');$this->addSql('ALTER TABLE olymp_online_direction ADD interval_from DATE DEFAULT NULL, ADD interval_to DATE DEFAULT NULL, ADD apply_button VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD apply_description LONGTEXT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD ti_from TIME DEFAULT NULL, ADD ti_to TIME DEFAULT NULL, ADD ro_from DATETIME DEFAULT NULL, ADD ro_to DATETIME DEFAULT NULL');}}