migrations/Version20250414155105.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20250414155105 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         // this up() migration is auto-generated, please modify it to your needs
  18.         $this->addSql('CREATE TABLE channel_crm_prospects (
  19.           id INT AUTO_INCREMENT NOT NULL,
  20.           channel_id VARCHAR(36) NOT NULL,
  21.           created_by_id VARCHAR(36) DEFAULT NULL,
  22.           updated_by_id VARCHAR(36) DEFAULT NULL,
  23.           email VARCHAR(180) NOT NULL,
  24.           first_name VARCHAR(255) DEFAULT NULL,
  25.           last_name VARCHAR(255) DEFAULT NULL,
  26.           created_at DATETIME NOT NULL,
  27.           updated_at DATETIME DEFAULT NULL,
  28.           INDEX IDX_D584129F72F5A1AA (channel_id),
  29.           INDEX IDX_D584129FB03A8386 (created_by_id),
  30.           INDEX IDX_D584129F896DBBDE (updated_by_id),
  31.           FULLTEXT INDEX IDX_D584129FE7927C74 (email),
  32.           FULLTEXT INDEX IDX_D584129FA9D1C132 (first_name),
  33.           FULLTEXT INDEX IDX_D584129FC808BA5A (last_name),
  34.           UNIQUE INDEX UNIQ_D584129F72F5A1AAE7927C74 (channel_id, email),
  35.           PRIMARY KEY(id)
  36.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  37.         $this->addSql('CREATE TABLE channel_positioning_test_attempt_answers (
  38.           id INT AUTO_INCREMENT NOT NULL,
  39.           attempt_block_id INT NOT NULL,
  40.           question_id INT DEFAULT NULL,
  41.           created_by_id VARCHAR(36) DEFAULT NULL,
  42.           updated_by_id VARCHAR(36) DEFAULT NULL,
  43.           valid TINYINT(1) NOT NULL,
  44.           created_at DATETIME NOT NULL,
  45.           updated_at DATETIME DEFAULT NULL,
  46.           INDEX IDX_2DC4DE2681F474AA (attempt_block_id),
  47.           INDEX IDX_2DC4DE261E27F6BF (question_id),
  48.           INDEX IDX_2DC4DE26B03A8386 (created_by_id),
  49.           INDEX IDX_2DC4DE26896DBBDE (updated_by_id),
  50.           PRIMARY KEY(id)
  51.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  52.         $this->addSql('CREATE TABLE channel_positioning_test_attempt_answer_selected_answers (
  53.           answer_id INT NOT NULL,
  54.           question_answer_id INT NOT NULL,
  55.           INDEX IDX_45D840D5AA334807 (answer_id),
  56.           INDEX IDX_45D840D5A3E60C9C (question_answer_id),
  57.           PRIMARY KEY(answer_id, question_answer_id)
  58.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  59.         $this->addSql('CREATE TABLE channel_positioning_test_attempt_blocks (
  60.           id INT AUTO_INCREMENT NOT NULL,
  61.           attempt_id INT NOT NULL,
  62.           block_id INT DEFAULT NULL,
  63.           created_by_id VARCHAR(36) DEFAULT NULL,
  64.           updated_by_id VARCHAR(36) DEFAULT NULL,
  65.           time INT NOT NULL,
  66.           status VARCHAR(255) DEFAULT \'waiting\',
  67.           result VARCHAR(255) DEFAULT NULL,
  68.           created_at DATETIME NOT NULL,
  69.           updated_at DATETIME DEFAULT NULL,
  70.           INDEX IDX_DD6B04F7B191BE6B (attempt_id),
  71.           INDEX IDX_DD6B04F7E9ED820C (block_id),
  72.           INDEX IDX_DD6B04F7B03A8386 (created_by_id),
  73.           INDEX IDX_DD6B04F7896DBBDE (updated_by_id),
  74.           PRIMARY KEY(id)
  75.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  76.         $this->addSql('CREATE TABLE channel_positioning_test_attempts (
  77.           id INT AUTO_INCREMENT NOT NULL,
  78.           prospect_id INT NOT NULL,
  79.           positioning_test_id INT DEFAULT NULL,
  80.           created_by_id VARCHAR(36) DEFAULT NULL,
  81.           updated_by_id VARCHAR(36) DEFAULT NULL,
  82.           time INT NOT NULL,
  83.           status VARCHAR(255) DEFAULT \'waiting\',
  84.           result VARCHAR(255) DEFAULT NULL,
  85.           created_at DATETIME NOT NULL,
  86.           updated_at DATETIME DEFAULT NULL,
  87.           INDEX IDX_AEEA1A75D182060A (prospect_id),
  88.           INDEX IDX_AEEA1A75F5AF274A (positioning_test_id),
  89.           INDEX IDX_AEEA1A75B03A8386 (created_by_id),
  90.           INDEX IDX_AEEA1A75896DBBDE (updated_by_id),
  91.           PRIMARY KEY(id)
  92.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  93.         $this->addSql('CREATE TABLE channel_positioning_test_blocks (
  94.           id INT AUTO_INCREMENT NOT NULL,
  95.           channel_id VARCHAR(36) NOT NULL,
  96.           created_by_id VARCHAR(36) DEFAULT NULL,
  97.           updated_by_id VARCHAR(36) DEFAULT NULL,
  98.           archived TINYINT(1) NOT NULL,
  99.           title VARCHAR(255) NOT NULL,
  100.           description TEXT NOT NULL,
  101.           estimated_time TIME DEFAULT NULL,
  102.           created_at DATETIME NOT NULL,
  103.           updated_at DATETIME DEFAULT NULL,
  104.           INDEX IDX_E13EC5C672F5A1AA (channel_id),
  105.           INDEX IDX_E13EC5C6B03A8386 (created_by_id),
  106.           INDEX IDX_E13EC5C6896DBBDE (updated_by_id),
  107.           PRIMARY KEY(id)
  108.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  109.         $this->addSql('CREATE TABLE channel_positioning_test_positioning_test_blocks (
  110.           id INT AUTO_INCREMENT NOT NULL,
  111.           positioning_test_id INT NOT NULL,
  112.           block_id INT NOT NULL,
  113.           rank INT NOT NULL,
  114.           INDEX IDX_7051C812F5AF274A (positioning_test_id),
  115.           INDEX IDX_7051C812E9ED820C (block_id),
  116.           PRIMARY KEY(id)
  117.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  118.         $this->addSql('CREATE TABLE channel_positioning_test_question_answers (
  119.           id INT AUTO_INCREMENT NOT NULL,
  120.           question_id INT NOT NULL,
  121.           created_by_id VARCHAR(36) DEFAULT NULL,
  122.           updated_by_id VARCHAR(36) DEFAULT NULL,
  123.           valid TINYINT(1) NOT NULL,
  124.           label VARCHAR(255) NOT NULL,
  125.           rank INT NOT NULL,
  126.           created_at DATETIME NOT NULL,
  127.           updated_at DATETIME DEFAULT NULL,
  128.           INDEX IDX_D06D16D1E27F6BF (question_id),
  129.           INDEX IDX_D06D16DB03A8386 (created_by_id),
  130.           INDEX IDX_D06D16D896DBBDE (updated_by_id),
  131.           PRIMARY KEY(id)
  132.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  133.         $this->addSql('CREATE TABLE channel_positioning_test_questions (
  134.           id INT AUTO_INCREMENT NOT NULL,
  135.           block_id INT NOT NULL,
  136.           created_by_id VARCHAR(36) DEFAULT NULL,
  137.           updated_by_id VARCHAR(36) DEFAULT NULL,
  138.           multiple TINYINT(1) NOT NULL,
  139.           label VARCHAR(255) NOT NULL,
  140.           description TEXT NOT NULL,
  141.           rank INT NOT NULL,
  142.           created_at DATETIME NOT NULL,
  143.           updated_at DATETIME DEFAULT NULL,
  144.           INDEX IDX_E07D59DAE9ED820C (block_id),
  145.           INDEX IDX_E07D59DAB03A8386 (created_by_id),
  146.           INDEX IDX_E07D59DA896DBBDE (updated_by_id),
  147.           PRIMARY KEY(id)
  148.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  149.         $this->addSql('CREATE TABLE channel_positioning_tests (
  150.           id INT AUTO_INCREMENT NOT NULL,
  151.           channel_id VARCHAR(36) NOT NULL,
  152.           created_by_id VARCHAR(36) DEFAULT NULL,
  153.           updated_by_id VARCHAR(36) DEFAULT NULL,
  154.           archived TINYINT(1) NOT NULL,
  155.           title VARCHAR(255) NOT NULL,
  156.           description TEXT NOT NULL,
  157.           break_text TEXT DEFAULT NULL,
  158.           fraud_title VARCHAR(255) DEFAULT NULL,
  159.           fraud_text TEXT DEFAULT NULL,
  160.           created_at DATETIME NOT NULL,
  161.           updated_at DATETIME DEFAULT NULL,
  162.           INDEX IDX_E24E951872F5A1AA (channel_id),
  163.           INDEX IDX_E24E9518B03A8386 (created_by_id),
  164.           INDEX IDX_E24E9518896DBBDE (updated_by_id),
  165.           PRIMARY KEY(id)
  166.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  167.         $this->addSql('CREATE TABLE file_positioning_test_question (
  168.           id INT NOT NULL,
  169.           question_id INT NOT NULL,
  170.           INDEX IDX_FF2853CF1E27F6BF (question_id),
  171.           PRIMARY KEY(id)
  172.         ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  173.         $this->addSql('ALTER TABLE
  174.           channel_crm_prospects
  175.         ADD
  176.           CONSTRAINT FK_D584129F72F5A1AA FOREIGN KEY (channel_id) REFERENCES channel_channels (id) ON DELETE CASCADE');
  177.         $this->addSql('ALTER TABLE
  178.           channel_crm_prospects
  179.         ADD
  180.           CONSTRAINT FK_D584129FB03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  181.         SET
  182.           NULL');
  183.         $this->addSql('ALTER TABLE
  184.           channel_crm_prospects
  185.         ADD
  186.           CONSTRAINT FK_D584129F896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  187.         SET
  188.           NULL');
  189.         $this->addSql('ALTER TABLE
  190.           channel_positioning_test_attempt_answers
  191.         ADD
  192.           CONSTRAINT FK_2DC4DE2681F474AA FOREIGN KEY (attempt_block_id) REFERENCES channel_positioning_test_attempt_blocks (id) ON DELETE CASCADE');
  193.         $this->addSql('ALTER TABLE
  194.           channel_positioning_test_attempt_answers
  195.         ADD
  196.           CONSTRAINT FK_2DC4DE261E27F6BF FOREIGN KEY (question_id) REFERENCES channel_positioning_test_questions (id) ON DELETE
  197.         SET
  198.           NULL');
  199.         $this->addSql('ALTER TABLE
  200.           channel_positioning_test_attempt_answers
  201.         ADD
  202.           CONSTRAINT FK_2DC4DE26B03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  203.         SET
  204.           NULL');
  205.         $this->addSql('ALTER TABLE
  206.           channel_positioning_test_attempt_answers
  207.         ADD
  208.           CONSTRAINT FK_2DC4DE26896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  209.         SET
  210.           NULL');
  211.         $this->addSql('ALTER TABLE
  212.           channel_positioning_test_attempt_answer_selected_answers
  213.         ADD
  214.           CONSTRAINT FK_45D840D5AA334807 FOREIGN KEY (answer_id) REFERENCES channel_positioning_test_attempt_answers (id) ON DELETE CASCADE');
  215.         $this->addSql('ALTER TABLE
  216.           channel_positioning_test_attempt_answer_selected_answers
  217.         ADD
  218.           CONSTRAINT FK_45D840D5A3E60C9C FOREIGN KEY (question_answer_id) REFERENCES channel_positioning_test_question_answers (id) ON DELETE CASCADE');
  219.         $this->addSql('ALTER TABLE
  220.           channel_positioning_test_attempt_blocks
  221.         ADD
  222.           CONSTRAINT FK_DD6B04F7B191BE6B FOREIGN KEY (attempt_id) REFERENCES channel_positioning_test_attempts (id) ON DELETE CASCADE');
  223.         $this->addSql('ALTER TABLE
  224.           channel_positioning_test_attempt_blocks
  225.         ADD
  226.           CONSTRAINT FK_DD6B04F7E9ED820C FOREIGN KEY (block_id) REFERENCES channel_positioning_test_blocks (id) ON DELETE
  227.         SET
  228.           NULL');
  229.         $this->addSql('ALTER TABLE
  230.           channel_positioning_test_attempt_blocks
  231.         ADD
  232.           CONSTRAINT FK_DD6B04F7B03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  233.         SET
  234.           NULL');
  235.         $this->addSql('ALTER TABLE
  236.           channel_positioning_test_attempt_blocks
  237.         ADD
  238.           CONSTRAINT FK_DD6B04F7896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  239.         SET
  240.           NULL');
  241.         $this->addSql('ALTER TABLE
  242.           channel_positioning_test_attempts
  243.         ADD
  244.           CONSTRAINT FK_AEEA1A75D182060A FOREIGN KEY (prospect_id) REFERENCES channel_crm_prospects (id) ON DELETE CASCADE');
  245.         $this->addSql('ALTER TABLE
  246.           channel_positioning_test_attempts
  247.         ADD
  248.           CONSTRAINT FK_AEEA1A75F5AF274A FOREIGN KEY (positioning_test_id) REFERENCES channel_positioning_tests (id) ON DELETE
  249.         SET
  250.           NULL');
  251.         $this->addSql('ALTER TABLE
  252.           channel_positioning_test_attempts
  253.         ADD
  254.           CONSTRAINT FK_AEEA1A75B03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  255.         SET
  256.           NULL');
  257.         $this->addSql('ALTER TABLE
  258.           channel_positioning_test_attempts
  259.         ADD
  260.           CONSTRAINT FK_AEEA1A75896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  261.         SET
  262.           NULL');
  263.         $this->addSql('ALTER TABLE
  264.           channel_positioning_test_blocks
  265.         ADD
  266.           CONSTRAINT FK_E13EC5C672F5A1AA FOREIGN KEY (channel_id) REFERENCES channel_channels (id) ON DELETE CASCADE');
  267.         $this->addSql('ALTER TABLE
  268.           channel_positioning_test_blocks
  269.         ADD
  270.           CONSTRAINT FK_E13EC5C6B03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  271.         SET
  272.           NULL');
  273.         $this->addSql('ALTER TABLE
  274.           channel_positioning_test_blocks
  275.         ADD
  276.           CONSTRAINT FK_E13EC5C6896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  277.         SET
  278.           NULL');
  279.         $this->addSql('ALTER TABLE
  280.           channel_positioning_test_positioning_test_blocks
  281.         ADD
  282.           CONSTRAINT FK_7051C812F5AF274A FOREIGN KEY (positioning_test_id) REFERENCES channel_positioning_tests (id) ON DELETE CASCADE');
  283.         $this->addSql('ALTER TABLE
  284.           channel_positioning_test_positioning_test_blocks
  285.         ADD
  286.           CONSTRAINT FK_7051C812E9ED820C FOREIGN KEY (block_id) REFERENCES channel_positioning_test_blocks (id) ON DELETE CASCADE');
  287.         $this->addSql('ALTER TABLE
  288.           channel_positioning_test_question_answers
  289.         ADD
  290.           CONSTRAINT FK_D06D16D1E27F6BF FOREIGN KEY (question_id) REFERENCES channel_positioning_test_questions (id) ON DELETE CASCADE');
  291.         $this->addSql('ALTER TABLE
  292.           channel_positioning_test_question_answers
  293.         ADD
  294.           CONSTRAINT FK_D06D16DB03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  295.         SET
  296.           NULL');
  297.         $this->addSql('ALTER TABLE
  298.           channel_positioning_test_question_answers
  299.         ADD
  300.           CONSTRAINT FK_D06D16D896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  301.         SET
  302.           NULL');
  303.         $this->addSql('ALTER TABLE
  304.           channel_positioning_test_questions
  305.         ADD
  306.           CONSTRAINT FK_E07D59DAE9ED820C FOREIGN KEY (block_id) REFERENCES channel_positioning_test_blocks (id) ON DELETE CASCADE');
  307.         $this->addSql('ALTER TABLE
  308.           channel_positioning_test_questions
  309.         ADD
  310.           CONSTRAINT FK_E07D59DAB03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  311.         SET
  312.           NULL');
  313.         $this->addSql('ALTER TABLE
  314.           channel_positioning_test_questions
  315.         ADD
  316.           CONSTRAINT FK_E07D59DA896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  317.         SET
  318.           NULL');
  319.         $this->addSql('ALTER TABLE
  320.           channel_positioning_tests
  321.         ADD
  322.           CONSTRAINT FK_E24E951872F5A1AA FOREIGN KEY (channel_id) REFERENCES channel_channels (id) ON DELETE CASCADE');
  323.         $this->addSql('ALTER TABLE
  324.           channel_positioning_tests
  325.         ADD
  326.           CONSTRAINT FK_E24E9518B03A8386 FOREIGN KEY (created_by_id) REFERENCES account_users (id) ON DELETE
  327.         SET
  328.           NULL');
  329.         $this->addSql('ALTER TABLE
  330.           channel_positioning_tests
  331.         ADD
  332.           CONSTRAINT FK_E24E9518896DBBDE FOREIGN KEY (updated_by_id) REFERENCES account_users (id) ON DELETE
  333.         SET
  334.           NULL');
  335.         $this->addSql('ALTER TABLE
  336.           file_positioning_test_question
  337.         ADD
  338.           CONSTRAINT FK_FF2853CF1E27F6BF FOREIGN KEY (question_id) REFERENCES channel_positioning_test_questions (id) ON DELETE CASCADE');
  339.         $this->addSql('ALTER TABLE
  340.           file_positioning_test_question
  341.         ADD
  342.           CONSTRAINT FK_FF2853CFBF396750 FOREIGN KEY (id) REFERENCES file (id) ON DELETE CASCADE');
  343.     }
  344.     public function down(Schema $schema): void
  345.     {
  346.         // this down() migration is auto-generated, please modify it to your needs
  347.         $this->addSql('ALTER TABLE channel_crm_prospects DROP FOREIGN KEY FK_D584129F72F5A1AA');
  348.         $this->addSql('ALTER TABLE channel_crm_prospects DROP FOREIGN KEY FK_D584129FB03A8386');
  349.         $this->addSql('ALTER TABLE channel_crm_prospects DROP FOREIGN KEY FK_D584129F896DBBDE');
  350.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_answers DROP FOREIGN KEY FK_2DC4DE2681F474AA');
  351.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_answers DROP FOREIGN KEY FK_2DC4DE261E27F6BF');
  352.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_answers DROP FOREIGN KEY FK_2DC4DE26B03A8386');
  353.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_answers DROP FOREIGN KEY FK_2DC4DE26896DBBDE');
  354.         $this->addSql('ALTER TABLE
  355.           channel_positioning_test_attempt_answer_selected_answers
  356.         DROP
  357.           FOREIGN KEY FK_45D840D5AA334807');
  358.         $this->addSql('ALTER TABLE
  359.           channel_positioning_test_attempt_answer_selected_answers
  360.         DROP
  361.           FOREIGN KEY FK_45D840D5A3E60C9C');
  362.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_blocks DROP FOREIGN KEY FK_DD6B04F7B191BE6B');
  363.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_blocks DROP FOREIGN KEY FK_DD6B04F7E9ED820C');
  364.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_blocks DROP FOREIGN KEY FK_DD6B04F7B03A8386');
  365.         $this->addSql('ALTER TABLE channel_positioning_test_attempt_blocks DROP FOREIGN KEY FK_DD6B04F7896DBBDE');
  366.         $this->addSql('ALTER TABLE channel_positioning_test_attempts DROP FOREIGN KEY FK_AEEA1A75D182060A');
  367.         $this->addSql('ALTER TABLE channel_positioning_test_attempts DROP FOREIGN KEY FK_AEEA1A75F5AF274A');
  368.         $this->addSql('ALTER TABLE channel_positioning_test_attempts DROP FOREIGN KEY FK_AEEA1A75B03A8386');
  369.         $this->addSql('ALTER TABLE channel_positioning_test_attempts DROP FOREIGN KEY FK_AEEA1A75896DBBDE');
  370.         $this->addSql('ALTER TABLE channel_positioning_test_blocks DROP FOREIGN KEY FK_E13EC5C672F5A1AA');
  371.         $this->addSql('ALTER TABLE channel_positioning_test_blocks DROP FOREIGN KEY FK_E13EC5C6B03A8386');
  372.         $this->addSql('ALTER TABLE channel_positioning_test_blocks DROP FOREIGN KEY FK_E13EC5C6896DBBDE');
  373.         $this->addSql('ALTER TABLE
  374.           channel_positioning_test_positioning_test_blocks
  375.         DROP
  376.           FOREIGN KEY FK_7051C812F5AF274A');
  377.         $this->addSql('ALTER TABLE
  378.           channel_positioning_test_positioning_test_blocks
  379.         DROP
  380.           FOREIGN KEY FK_7051C812E9ED820C');
  381.         $this->addSql('ALTER TABLE channel_positioning_test_question_answers DROP FOREIGN KEY FK_D06D16D1E27F6BF');
  382.         $this->addSql('ALTER TABLE channel_positioning_test_question_answers DROP FOREIGN KEY FK_D06D16DB03A8386');
  383.         $this->addSql('ALTER TABLE channel_positioning_test_question_answers DROP FOREIGN KEY FK_D06D16D896DBBDE');
  384.         $this->addSql('ALTER TABLE channel_positioning_test_questions DROP FOREIGN KEY FK_E07D59DAE9ED820C');
  385.         $this->addSql('ALTER TABLE channel_positioning_test_questions DROP FOREIGN KEY FK_E07D59DAB03A8386');
  386.         $this->addSql('ALTER TABLE channel_positioning_test_questions DROP FOREIGN KEY FK_E07D59DA896DBBDE');
  387.         $this->addSql('ALTER TABLE channel_positioning_tests DROP FOREIGN KEY FK_E24E951872F5A1AA');
  388.         $this->addSql('ALTER TABLE channel_positioning_tests DROP FOREIGN KEY FK_E24E9518B03A8386');
  389.         $this->addSql('ALTER TABLE channel_positioning_tests DROP FOREIGN KEY FK_E24E9518896DBBDE');
  390.         $this->addSql('ALTER TABLE file_positioning_test_question DROP FOREIGN KEY FK_FF2853CF1E27F6BF');
  391.         $this->addSql('ALTER TABLE file_positioning_test_question DROP FOREIGN KEY FK_FF2853CFBF396750');
  392.         $this->addSql('DROP TABLE channel_crm_prospects');
  393.         $this->addSql('DROP TABLE channel_positioning_test_attempt_answers');
  394.         $this->addSql('DROP TABLE channel_positioning_test_attempt_answer_selected_answers');
  395.         $this->addSql('DROP TABLE channel_positioning_test_attempt_blocks');
  396.         $this->addSql('DROP TABLE channel_positioning_test_attempts');
  397.         $this->addSql('DROP TABLE channel_positioning_test_blocks');
  398.         $this->addSql('DROP TABLE channel_positioning_test_positioning_test_blocks');
  399.         $this->addSql('DROP TABLE channel_positioning_test_question_answers');
  400.         $this->addSql('DROP TABLE channel_positioning_test_questions');
  401.         $this->addSql('DROP TABLE channel_positioning_tests');
  402.         $this->addSql('DROP TABLE file_positioning_test_question');
  403.     }
  404. }