<?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 Version20210416094711 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 stacks ADD CONSTRAINT FK_B628EF36BCF5E72D FOREIGN KEY (categorie_id) REFERENCES stack_categories (id)');
$this->addSql('ALTER TABLE stacks ADD CONSTRAINT FK_B628EF3698FB19AE FOREIGN KEY (sequence_id) REFERENCES stack_sequences (id)');
$this->addSql('CREATE INDEX IDX_B628EF36BCF5E72D ON stacks (categorie_id)');
$this->addSql('CREATE INDEX IDX_B628EF3698FB19AE ON stacks (sequence_id)');
*/
}
public function down(Schema $schema) : void
{
/*
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE stacks DROP FOREIGN KEY FK_B628EF36BCF5E72D');
$this->addSql('ALTER TABLE stacks DROP FOREIGN KEY FK_B628EF3698FB19AE');
$this->addSql('DROP INDEX IDX_B628EF36BCF5E72D ON stacks');
$this->addSql('DROP INDEX IDX_B628EF3698FB19AE ON stacks');
*/
}
}