<?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 Version20250128122800 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(), 'RECONVERSION_FREQUENCY_HELP_TEXT', 'Texte d\'explication à destination des prestataires pour le champ Fréquence de reconversion dans leur espace personnel', null, '1')");
        $this->addSql("DELETE FROM global_parameter WHERE name='PAYING_ENTITY_NAME'");
    }

    public function down(Schema $schema) : void
    {
        $this->addSql("DELETE FROM global_parameter WHERE name='RECONVERSION_FREQUENCY_HELP_TEXT'");
        $this->addSql("INSERT INTO global_parameter (id, name, description, value, mandatory) VALUES (UUID(), 'PAYING_ENTITY_NAME', 'Nom de l\'organisme qui effectuera les paiements en euros (versement des reconversions aux prestataires...)', null, '1')");
        // this down() migration is auto-generated, please modify it to your needs
    }
}
