- Article entity gets manufacturer and modelNumber columns (migration 20260517240000) - Vision output (manufacturer/model) is written to the article in DraftArticleHandler - manufacturer is forwarded through SpecsResearchMessage so the specs prompt can use it - serialNumber is now threaded through JsonCodingMessage and ValidationMessage - EbayTextHandler pulls specsText from the job's stored output data - DraftArticleHandler supports re-run mode (existing article reuse) and sets Draft status - ArticleType and AttributeValue get __toString() for form/display use - ArticleService exposes reserveInventoryNumber() publicly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
790 B
PHP
28 lines
790 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DoctrineMigrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
final class Version20260517240000 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return 'Add manufacturer and model_number columns to articles';
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql('ALTER TABLE app.articles ADD COLUMN manufacturer VARCHAR(255) NULL');
|
|
$this->addSql('ALTER TABLE app.articles ADD COLUMN model_number VARCHAR(255) NULL');
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
$this->addSql('ALTER TABLE app.articles DROP COLUMN manufacturer');
|
|
$this->addSql('ALTER TABLE app.articles DROP COLUMN model_number');
|
|
}
|
|
}
|