<?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 Version20230629112824 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE project_campaign ADD is_smart_wood TINYINT(1) NOT NULL, ADD is_regional_wood TINYINT(1) NOT NULL, ADD jurytext_smart_wood LONGTEXT DEFAULT NULL, ADD jurytext_regional_wood LONGTEXT DEFAULT NULL, CHANGE project project INT DEFAULT NULL, CHANGE campaign campaign INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE `project_campaign` DROP is_smart_wood, DROP is_regional_wood, DROP jurytext_smart_wood, DROP jurytext_regional_wood, CHANGE project project INT NOT NULL, CHANGE campaign campaign INT NOT NULL');
}
}