<?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 Version20250130095533 extends AbstractMigration
{
    public function getDescription() : string
    {
        return '';
    }

    public function up(Schema $schema) : void
    {
        // this up() migration is auto-generated, please modify it to your needs
        $this->addSql("INSERT INTO global_parameter (id, name, description, value, mandatory) VALUES (UUID(), 'ACTIVATE_ADHERENTS_BALANCE_CEILING', 'La valeur \'true\' active les fonctionnalités liées au plafond de solde d\'un adhérent, lorsqu\'un des modes d\'allocation selon le foyer est utilisé', 'true', '1')");
    }

    public function down(Schema $schema) : void
    {
        $this->addSql("DELETE FROM global_parameter where name='ACTIVATE_ADHERENTS_BALANCE_CEILING'");
        // this down() migration is auto-generated, please modify it to your needs
    }
}
