<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20251125080749 extends AbstractMigration
{
public function getDescription(): string
{
return 'Remove external_reference column from order_item table';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE order_item DROP external_reference');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE order_item ADD external_reference VARCHAR(255) DEFAULT NULL');
}
}