<?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 Version20260603082647 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_REGISTRATION_QUIZZ_SENDER_EMAIL', 'Définit l\'adresse mail qui envoie un questionnaire recherche à remplir par les adhérent·e·s à l\'inscription. Requis pour le mail d\'inscription de certaines instances.', '', '0')");
    }

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