<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Add service_level column to job table for Service Checklist module.
*/
final class Version20260203100000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add service_level column to job table for Service Checklist module (A = Minor, B = Major)';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE job ADD service_level VARCHAR(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE job DROP service_level');
}
}