migrations/Version20220310114622.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\Entity\LegalEntity\Contract\Amendment;
  6. use Doctrine\DBAL\Schema\Schema;
  7. /**
  8.  * Auto-generated Migration: Please modify to your needs!
  9.  */
  10. final class Version20220310114622 extends AbstractMigration
  11. {
  12.     public function up(Schema $schema): void
  13.     {
  14.         // this up() migration is auto-generated, please modify it to your needs
  15.         $this->addSql('DELETE FROM legal_entity_contract_custom_template WHERE contract_id = 33043');
  16.         $this->addCommand(['app:manual:amendments:generate'Amendment::TYPE_SCHEDULE_4'33043']);
  17.     }
  18.     public function down(Schema $schema): void
  19.     {
  20.         // this down() migration is auto-generated, please modify it to your needs
  21.     }
  22. }