<?php
declare(strict_types=1);
namespace CustomersBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20221212090020 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE customers_bundle__customer_group ADD percentage_discount NUMERIC(20, 2) DEFAULT NULL');
$this->addSql('CREATE INDEX percentage_discount ON customers_bundle__customer_group (percentage_discount)');
}
public function down(Schema $schema): void
{
}
}