<?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 Version20250221115125 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(), 'SSA_SIMPL_HOUSEHOLD_ADMIN_TEXT_INFO_ADHERENT_FALLBACKS_TO_PROFILECOTIS', 'Dans le cas de l\'allocation par foyer simplifiée, si l\'adhérent n\'a pas ses infos de foyer renseigné mais dispose d\'un profil de cotisation, définit un texte informatif pour l\'admin dans la section Cotisation de la fiche adhérent.', 'Informations de foyer manquantes, le profil de cotisation de l\'adhérent sera utilisé. ', '0')");
    }

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