Deprecated: Constant E_STRICT is deprecated in /data/web/apps/test2-bridge.kwalitaria.bluebirdday.io/releases/1/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /data/web/apps/test2-bridge.kwalitaria.bluebirdday.io/releases/1/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

migrations/Version20211020172201.php line 1

  1. <?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 Version20211020172201 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('CREATE INDEX IDX_NTF_ID ON allergen (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment_group (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ASSORTMENT ON assortment_group (assortment_id, ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment_product (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ASSORTMENT ON assortment_product (assortment_id, ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment_product_position (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ASSORTMENT ON assortment_product_position (assortment_id, ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment_question_set_question (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON assortment_question_set_question_answer (ntf_id)');
            $this->addSql('CREATE INDEX IDX_NTF_ID ON vat (ntf_id)');
        }
    
        public function down(Schema $schema): void
        {
            // this down() migration is auto-generated, please modify it to your needs
            $this->addSql('DROP INDEX IDX_NTF_ID ON allergen');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment_group');
            $this->addSql('DROP INDEX IDX_NTF_ASSORTMENT ON assortment_group');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment_product');
            $this->addSql('DROP INDEX IDX_NTF_ASSORTMENT ON assortment_product');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment_product_position');
            $this->addSql('DROP INDEX IDX_NTF_ASSORTMENT ON assortment_product_position');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment_question_set_question');
            $this->addSql('DROP INDEX IDX_NTF_ID ON assortment_question_set_question_answer');
            $this->addSql('DROP INDEX IDX_NTF_ID ON vat');
        }
    
        public function isTransactional(): bool
        {
            return false;
        }
    }