<?php
declare(strict_types=1);
namespace ProductsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20230620072525 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__pack_product ADD quantity NUMERIC(20, 6) DEFAULT \'1.000000\'');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__pack_product DROP quantity');
}
}