migrations/Version20220819034719.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 Version20220819034719 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17. //        $this->addSql("INSERT IGNORE INTO sustainability_option(name, code, uuid) VALUES('Recycable', 'sustainability.recycable', '8f154e24-72ab-11ec-90d6-0242ac120003'),('Biodegradable','sustainability.biodegradable', '98e48208-72ab-11ec-90d6-0242ac120003')");
  18. //        $this->addSql("INSERT IGNORE INTO material(name, code, is_visible_in_web_constructor, uuid)
  19. //                            VALUES
  20. //                            ('Brown Craft Paper', 'material.brown_craft_paper', true, UUID()),
  21. //                            ('Metalized Paper', 'material.metalized_craft', true, UUID()),
  22. //                            ('Metalized Matte Plastic', 'material.metalized_matte_plastic', true, UUID()),
  23. //                            ('Metalized Gloss Plastic', 'material.metalized_gloss_plastic', true, UUID()),
  24. //                            ('Recyclable Matte Plastic', 'material.recyclable_matte_plastic', true, UUID()),
  25. //                            ('Recyclable Gloss Plastic', 'material.recyclable_gloss_plastic', true, UUID()),
  26. //                            ('Transparent Plastic', 'material.transparent_plastic', true, UUID()),
  27. //                            "
  28. //        );
  29.     }
  30.     public function down(Schema $schema): void
  31.     {
  32.         // this down() migration is auto-generated, please modify it to your needs
  33. //        ('White Kraft Paper', 'material.white_kraft_paper', true, UUID()), 2
  34. //        ('Black Matte Plastic', 'material.black_matte_plastic', true, UUID()),
  35. //                            ('White Gloss Plastic', 'material.white_gloss_plastic', true, UUID()),
  36. //                            ('White Matte Plastic', 'material.white_matte_plastic', true, UUID()),
  37.     }
  38. }