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/Version20211110150903.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 Version20211110150903 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 TABLE assortment_product_suggestion (id CHAR(36) NOT NULL COMMENT \'(DC2Type:uuid)\', assortment_id CHAR(36) DEFAULT NULL COMMENT \'(DC2Type:uuid)\', source_product_id INT DEFAULT NULL, destination_product_id INT DEFAULT NULL, source_revenue_group_id INT DEFAULT NULL, destination_revenue_group_id INT DEFAULT NULL, ntf_id INT DEFAULT NULL, updated_at DATETIME DEFAULT NULL, created_at DATETIME DEFAULT NULL, INDEX IDX_22186A77D7A15862 (assortment_id), INDEX IDX_NTF_ID (ntf_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
            $this->addSql('ALTER TABLE assortment_product_suggestion ADD CONSTRAINT FK_22186A77D7A15862 FOREIGN KEY (assortment_id) REFERENCES assortment (id)');
        }
    
        public function down(Schema $schema): void
        {
            // this down() migration is auto-generated, please modify it to your needs
            $this->addSql('DROP TABLE assortment_product_suggestion');
        }
    
        public function isTransactional(): bool
        {
            return false;
        }
    }