migrations/2021/10/Version20211010125302.php line 1

  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. final class Version20211010125302 extends AbstractMigration
  7. {
  8.     public function up(Schema $schema): void
  9.     {
  10.     }
  11.     public function down(Schema $schema): void
  12.     {
  13.     }
  14.     public function postUp(Schema $schema): void
  15.     {
  16.         $this->connection->executeQuery('INSERT INTO document_template (id, name, filename, preview_image, formats, contact_types_by, contact_types_for) VALUES (0x11ec29c717a4f380a9da39d1863cc90c, "Prisavtale, fast pris V2 - NO", "prisavtale-fast-pris-v2-no", "0qmksr0ae727pakphst633sj8c.png", "[\\"docx\\"]", "[\\"1\\"]", "[\\"1\\"]")');
  17.     }
  18.     public function postDown(Schema $schema): void
  19.     {
  20.         $this->connection->executeQuery('DELETE FROM document_template WHERE id=0x11ec29c717a4f380a9da39d1863cc90c');
  21.     }
  22. }