<?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 Version20240321101500 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(), 'VIREMENT_RECONVERSION_RAISON_GESTIONNAIRE', 'Raison du gestionnaire pour les virements de reconversion automatisés', null, '1')");
        $this->addSql("INSERT INTO global_parameter (id, name, description, value, mandatory) VALUES (UUID(), 'VIREMENT_RECONVERSION_BIC_GESTIONNAIRE', 'Bic du gestionnaire pour les virements de reconversion automatisés', null, '1')");
        $this->addSql("INSERT INTO global_parameter (id, name, description, value, mandatory) VALUES (UUID(), 'VIREMENT_RECONVERSION_IBAN_GESTIONNAIRE', 'Iban du gestionnaire pour les virements de reconversion automatisés', null, '1')");
    }

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