migrations/2021/03/Version20210303191700.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 Version20210303191700 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('UPDATE document_template SET name="Tilbud", filename="tilbud" WHERE id=0x11eb77ade7ffb186827ea3d533dd0c9e');
  17.     }
  18.     public function postDown(Schema $schema): void
  19.     {
  20.         $this->connection->executeQuery('UPDATE document_template SET name="Prisavtale v3", filename="prisavtale-v3" WHERE id=0x11eb77ade7ffb186827ea3d533dd0c9e');
  21.     }
  22. }