migrations/Version20221026094202.php line 1
<?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 Version20221026094202 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$alter = <<<SQL
ALTER TABLE `template` MODIFY top_p double DEFAULT 1.0;
ALTER TABLE `template` MODIFY frequency_penalty double DEFAULT 0.0;
ALTER TABLE `template` MODIFY presence_penalty double DEFAULT 0.0;
ALTER TABLE `template` ADD COLUMN `n` INT DEFAULT 1;
ALTER TABLE `template` ADD COLUMN `best_of` INT DEFAULT 1;
SQL;
$this->addSql($alter);
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}