<?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 Version20220106075255 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE EventTraining ADD number_worklist INT DEFAULT NULL');
$this->addSql('ALTER TABLE ReviewProgram ADD boost_id INT DEFAULT NULL');
$this->addSql('ALTER TABLE ReviewProgram ADD CONSTRAINT FK_9D6BA5AEB09F48DA FOREIGN KEY (boost_id) REFERENCES EventTraining (id)');
$this->addSql('CREATE INDEX IDX_9D6BA5AEB09F48DA ON ReviewProgram (boost_id)');
}
public function down(Schema $schema): void
{
}
}