Files
SIRH/migrations/Version20260313092249.php
tristan 4a2c3a8eed
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
feat : Ajout du système de RTT sur la page employé avec le repport annuel des heures
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');
}
}