migrations/2022/08/Version20220812122916.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Application\Migrations;
  4. use App\Doctrine\Migrations\AbstractMigration;
  5. use App\Service\ContractRenderer;
  6. use Doctrine\DBAL\Schema\Schema;
  7. /**
  8.  * Auto-generated Migration: Please modify to your needs!
  9.  */
  10. final class Version20220812122916 extends AbstractMigration
  11. {
  12.     public function getDescription(): string
  13.     {
  14.         return '';
  15.     }
  16.     public function up(Schema $schema): void
  17.     {
  18.         // this up() migration is auto-generated, please modify it to your needs
  19.         $this->resetContractTemplate(ContractRenderer::TEMPLATE_SANCTIONS);
  20.         $this->resetContractTemplate(ContractRenderer::TEMPLATE_SANCTIONS_OR);
  21.         $this->resetContractTemplate(ContractRenderer::TEMPLATE_SANCTIONS_MEMBER);
  22.     }
  23.     public function down(Schema $schema): void
  24.     {
  25.         // this down() migration is auto-generated, please modify it to your needs
  26.     }
  27. }