<?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 Version20260217183037 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 model_generation_config (id BINARY(16) NOT NULL, model_name VARCHAR(120) NOT NULL, stream TINYINT NOT NULL, temperature DOUBLE PRECISION NOT NULL, top_k INT NOT NULL, top_p DOUBLE PRECISION NOT NULL, repeat_penalty DOUBLE PRECISION NOT NULL, num_ctx INT NOT NULL, active TINYINT NOT NULL, version INT NOT NULL, created_at DATETIME NOT NULL, INDEX idx_model_active (model_name, active), PRIMARY KEY (id)) DEFAULT CHARACTER SET utf8mb4');
    }

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