<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20241231143834 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE `dp_failed_workorder_history` DROP `reason`;");
$this->addSql("ALTER TABLE `dp_failed_workorder_history` ADD `material` VARCHAR(255) NULL AFTER `customer_jit_call_no`, ADD `hitachi_part_no` VARCHAR(255) NULL AFTER `material`, ADD `workorder_details` TEXT NULL AFTER `hitachi_part_no`;");
}
public function down(Schema $schema): void
{
$this->addSql("ALTER TABLE `dp_failed_workorder_history` DROP `workorder_details`;");
$this->addSql("ALTER TABLE `dp_failed_workorder_history` DROP `hitachi_part_no`;");
$this->addSql("ALTER TABLE `dp_failed_workorder_history` DROP `material`;");
$this->addSql("ALTER TABLE `dp_failed_workorder_history` ADD `reason` VARCHAR(255) NULL AFTER `customer_jit_call_no`;");
}
}