<?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 Version20211230084815 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 ensemble ADD is_crep_required TINYINT(1) NOT NULL, ADD is_dapp_required TINYINT(1) NOT NULL, ADD is_deo_required TINYINT(1) NOT NULL, ADD is_dgo_required TINYINT(1) NOT NULL, ADD is_dpe_required TINYINT(1) NOT NULL, ADD is_dta_required TINYINT(1) NOT NULL, ADD is_erp_required TINYINT(1) NOT NULL');
$this->addSql('ALTER TABLE module ADD is_crep_required TINYINT(1) NOT NULL, ADD is_dapp_required TINYINT(1) NOT NULL, ADD is_deo_required TINYINT(1) NOT NULL, ADD is_dgo_required TINYINT(1) NOT NULL, ADD is_dpe_required TINYINT(1) NOT NULL, ADD is_dta_required TINYINT(1) NOT NULL, ADD is_erp_required TINYINT(1) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE ensemble DROP is_crep_required, DROP is_dapp_required, DROP is_deo_required, DROP is_dgo_required, DROP is_dpe_required, DROP is_dta_required, DROP is_erp_required');
$this->addSql('ALTER TABLE module DROP is_crep_required, DROP is_dapp_required, DROP is_deo_required, DROP is_dgo_required, DROP is_dpe_required, DROP is_dta_required, DROP is_erp_required');
}
}