migrations/Version20221020132847.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 Version20221020132847 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("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (1, 'Pentru participarea la TIMM 2022 îmi voi amenaja în regim propriu standul societății1', 'Amenajare Stand', 'boolean', 1, 1, '2022-10-08 18:18:22', '2022-10-10 23:18:51');");
  19.         $this->addSql("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (2, 'Societatea / asociatul / acționarul deține în proprietate și înregistrat la Oficiul de Stat pentru Invenții și Mărci un brand sau o marcă înregistrată pentru un produs/ serviciu național.', 'Marca Inregistrata', 'boolean', 1, 2, '2022-10-10 17:02:36', '2022-10-10 23:18:51');");
  20.         $this->addSql("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (3, 'Vechimea societății este de:', 'Vechime Societate', 'multiple_choice', 1, 3, '2022-10-10 17:03:14', '2022-10-10 23:18:51');");
  21.         $this->addSql("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (4, 'Numărul de salariați aferent anului 2021 (conform bilanțului înregistrat și depus la ANAF)', 'Nr Salariati', 'multiple_choice', 1, 4, '2022-10-10 17:04:48', '2022-10-10 23:18:51');");
  22.         $this->addSql("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (5, 'Cifra de afaceri aferentă anului 2021 (conform bilanțului înregistrat și depus la ANAF)', 'Cifra Afaceri', 'multiple_choice', 1, 5, '2022-10-10 17:05:07', '2022-10-11 14:16:29');");
  23.         $this->addSql("INSERT INTO `question` (`id`, `text`, `short_name`, `type`, `status`, `sort_order`, `date_added`, `date_modified`) VALUES (6, 'Bifați cu da sau nu următoarea opțiune:  Societatea a mai participat la cel puțin un târg de profil cu stand propriu sau în standul național', 'Participare alte targuri', 'boolean', 1, 6, '2022-10-10 17:05:59', '2022-10-11 23:06:23');");
  24.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (1, 1, 'Da', 30, 1, 1, '2022-10-10 17:01:12', '2022-10-10 17:01:12');");
  25.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (2, 1, 'Nu', 0, 2, 1, '2022-10-10 17:01:50', '2022-10-10 17:01:50');");
  26.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (3, 2, 'Da', 20, 1, 1, '2022-10-10 17:09:09', '2022-10-10 17:09:09');");
  27.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (4, 2, 'Nu', 0, 2, 1, '2022-10-10 17:09:36', '2022-10-10 17:09:36');");
  28.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (5, 3, '0 – 4 Ani', 5, 1, 1, '2022-10-10 17:10:02', '2022-10-10 17:10:02');");
  29.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (6, 3, '5 – 9 ani', 10, 2, 1, '2022-10-10 17:10:20', '2022-10-10 17:10:20');");
  30.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (7, 3, 'Mai mult de 10 ani', 15, 3, 1, '2022-10-10 17:10:39', '2022-10-10 17:10:39');");
  31.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (8, 4, '0 – 9 salariați', 5, 1, 1, '2022-10-10 17:11:12', '2022-10-10 17:11:12');");
  32.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (9, 4, '10 – 49 salariați', 10, 2, 1, '2022-10-10 17:11:47', '2022-10-10 17:11:47');");
  33.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (10, 4, '50 – 249 salariați', 15, 3, 1, '2022-10-10 17:12:01', '2022-10-10 17:12:01');");
  34.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (11, 5, '0 lei – 4 999 999 lei', 5, 1, 1, '2022-10-10 17:12:17', '2022-10-10 17:12:17');");
  35.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (12, 5, '5 000 000 lei – 49 999 999 lei', 10, 2, 1, '2022-10-10 17:12:37', '2022-10-10 17:12:37');");
  36.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (13, 5, 'Peste 50 000 000 lei', 15, 3, 1, '2022-10-10 17:12:51', '2022-10-10 17:12:51');");
  37.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (14, 6, 'Da', 5, 1, 1, '2022-10-10 17:13:09', '2022-10-10 17:13:09');");
  38.         $this->addSql("INSERT INTO `answer` (`id`, `question_id`, `text`, `score`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES (15, 6, 'Nu', 0, 2, 1, '2022-10-10 17:13:25', '2022-10-10 17:13:25');");
  39.     }
  40.     public function down(Schema $schema): void
  41.     {
  42.         // this down() migration is auto-generated, please modify it to your needs
  43.         // key problems if deleting
  44.     }
  45. }