<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20260313092249 extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Add month column to employee_rtt_balances for flexible carry-over positioning';
    }

    public function up(Schema $schema): void
    {
        $this->addSql('ALTER TABLE employee_rtt_balances ADD month INT DEFAULT 5 NOT NULL');
    }

    public function down(Schema $schema): void
    {
        $this->addSql('ALTER TABLE employee_rtt_balances DROP month');
    }
}
