SuperSeller3000/migrations/Version20260520080000.php

27 lines
661 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260520080000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add ebay_category_id to app.article_types for taxonomy aspect import';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE app.article_types ADD COLUMN ebay_category_id VARCHAR(50) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE app.article_types DROP COLUMN ebay_category_id');
}
}