SuperSeller3000/migrations/Version20260517230000.php

27 lines
644 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 Version20260517230000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add current_step column to ai_pipeline_jobs for step tracking';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE app.ai_pipeline_jobs ADD COLUMN current_step VARCHAR(50) NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE app.ai_pipeline_jobs DROP COLUMN current_step');
}
}