<?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 Version20240404100204 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 channel_user_data_cursus_founder ADD founder_type INT NOT NULL, DROP founder_types');
$this->addSql('ALTER TABLE custom_view_cursus CHANGE filters filters JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE custom_view_cursus CHANGE filters filters JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE channel_user_data_cursus_founder ADD founder_types LONGTEXT NOT NULL COMMENT \'(DC2Type:simple_array)\', DROP founder_type');
}
}