<?php
declare(strict_types=1);
namespace Application\Migrations;
use App\Doctrine\Migrations\AbstractMigration;
use App\Entity\LegalEntity\Contract\Amendment;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220311084212 extends AbstractMigration
{
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE legal_entity_order_line SET status = "waiting-for-payment" WHERE id IN (6475, 6476)');
$this->addSql('DELETE FROM legal_entity_contract_custom_template WHERE contract_id = 33046');
$this->addCommand(['app:manual:agreements:generate', '-l', '1452']);
$this->addSql('DELETE FROM legal_entity_contract_custom_template WHERE contract_id = 33042');
$this->addCommand(['app:manual:amendments:generate', Amendment::TYPE_TONNAGEBAND, '33042']);
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}