<?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 Version20240712133245 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$sql = <<<SQL
UPDATE `plg_productoption_dtb_option` SET `option_code`= 'low_quality' WHERE id = 10
SQL;
$this->addSql($sql);
$sql = <<<SQL
UPDATE `plg_productoption_dtb_option` SET `sticker_type`= NULL WHERE id = 1
SQL;
$this->addSql($sql);
}
public function down(Schema $schema): void
{
$sql = <<<SQL
UPDATE `plg_productoption_dtb_option` SET `sticker_type`= 0 WHERE id = 1
SQL;
$this->addSql($sql);
$sql = <<<SQL
UPDATE `plg_productoption_dtb_option` SET `option_code`= 'Low_quality' WHERE id = 10
SQL;
$this->addSql($sql);
}
}