<?php
declare(strict_types=1);
namespace ProductsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20241218135221 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__product_context ADD out_of_stock INT DEFAULT 2 NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__product_context DROP out_of_stock');
}
}