<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20241114084008 extends AbstractMigration
{
public function getDescription(): string
{
return "Change order's states to failed, order#26075";
}
public function up(Schema $schema): void
{
if ('prod' === $_SERVER['APP_SERVER']) {
$this->addSql('UPDATE `order` SET state="failed", checkout_state="failed", payment_state="failed" WHERE id = 26075');
}
}
public function down(Schema $schema): void
{
}
}