<?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 Version20230712141921 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 project ADD jurytext_future LONGTEXT DEFAULT NULL, ADD jurytext_relevance LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE project_campaign ADD is_future TINYINT(1) NOT NULL, ADD is_relevance TINYINT(1) NOT NULL, ADD jurytext_future LONGTEXT DEFAULT NULL, ADD jurytext_relevance 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 project DROP jurytext_future, DROP jurytext_relevance');
$this->addSql('ALTER TABLE `project_campaign` DROP is_future, DROP is_relevance, DROP jurytext_future, DROP jurytext_relevance');
}
}