<?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 Version20250317142939 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_DISABLE_COTISATION', 'La valeur \'true\' bloque la possibilité de cotiser.', '', '0')
");
    }

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