migrations/Version20220606091215.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 Version20220606091215 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 `animals` (`path`, `deleted`) VALUES
  19. ('cat', 0),
  20. ('diet.png', 0),
  21. ('dish-washing.png', 0),
  22. ('dog.png', 0),
  23. ('cow.png', 0),
  24. ('deer.png', 0),
  25. ('dog.png', 0),
  26. ('elephant.png', 0),
  27. ('fox.png', 0),
  28. ('giraffe.png', 0),
  29. ('goat.png', 0),
  30. ('gorilla.png', 0),
  31. ('hippopotamus.png', 0),
  32. ('horse.png', 0),
  33. ('husky-dog.png', 0),
  34. ('koala.png', 0),
  35. ('lion.png', 0),
  36. ('monkey.png', 0),
  37. ('panda.png', 0),
  38. ('pig.png', 0),
  39. ('rabbit.png', 0),
  40. ('rhino.png', 0),
  41. ('snake.png', 0),
  42. ('tiger.png', 0),
  43. ('walrus.png', 0);
  44. ");$this->addSql("INSERT INTO `image` (`id`, `path`, `deleted`) VALUES
  45. (1, 'cat.png', 0),
  46. (2, 'diet.png', 0),
  47. (3, 'dish-washing.png', 0),
  48. (4, 'dog.png', 0),
  49. (5, 'gardening.png', 0),
  50. (6, 'laptop-screen.png', 0),
  51. (7, 'music.png', 0),
  52. (8, 'notification.png', 0),
  53. (9, 'pet-food.png', 0),
  54. (10, 'recycle-bin.png', 0),
  55. (11, 'sport.png', 0),
  56. (12, 'house.png', 0);
  57. ");
  58.     }
  59.     public function down(Schema $schema): void
  60.     {
  61.         // this down() migration is auto-generated, please modify it to your needs
  62.     }
  63. }