<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20241023101342 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("
UPDATE dtb_payment SET method_class = :new_method_class WHERE method_class = :old_method_class",
[
'new_method_class'=>'Customize\Plugin\ZeusPayment42\Service\Method\CreditPayment',
'old_method_class'=>'Customize\Plugin\ZeusPayment4\Service\Method\CreditPayment',
]
);
}
public function down(Schema $schema): void
{
$this->addSql("
UPDATE dtb_payment SET method_class = :new_method_class WHERE method_class = :old_method_class",
[
'new_method_class'=>'Customize\Plugin\ZeusPayment4\Service\Method\CreditPayment',
'old_method_class'=>'Customize\Plugin\ZeusPayment42\Service\Method\CreditPayment',
]
);
}
}