Files
SIRH/migrations/Version20260313092249.php
T
2026-03-13 10:26:33 +01:00

27 lines
640 B
PHP

<?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');
}
}