migrations/Version20210611215946.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 Version20210611215946 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $this->addSql("INSERT INTO `color` (`id`, `code`, `deleted`) VALUES
  18. (1, '#286053', 0),
  19. (2, '#1282A2', 0),
  20. (3, '#AD2831', 0),
  21. (4, '#4DAA57', 0),
  22. (5, '#9D9171', 0),
  23. (6, '#0000ff', 0),
  24. (7, '#bf00ff', 0),
  25. (8, '#ff00bf', 0),
  26. (9, '#ff0000', 0),
  27. (10, '#ffe6e6', 0),
  28. (11, '#e6e7ff', 0),
  29. (12, '#f9ffcc', 0),
  30. (13, '#3ED598', 0),
  31. (14, '#ffcce3', 0);
  32. ");
  33.     }
  34.     public function down(Schema $schema): void
  35.     {
  36.         // this down() migration is auto-generated, please modify it to your needs
  37.     }
  38. }