<?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 Version20251105100522 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('CREATE TABLE external_data_theoretical_cotisation_rule (id INT AUTO_INCREMENT NOT NULL, allocation_amount INT NOT NULL, income_min NUMERIC(8, 2) DEFAULT NULL, income_max NUMERIC(8, 2) DEFAULT NULL, coef NUMERIC(18, 16) DEFAULT NULL, intercept NUMERIC(18, 15) DEFAULT NULL, fixed_value NUMERIC(8, 2) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_general_ci` ENGINE = InnoDB');
    }

    public function down(Schema $schema) : void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->addSql('DROP TABLE external_data_theoretical_cotisation_rule');
    }
}
