alpha new hybridretriver line
This commit is contained in:
32
migrations/Version20260225000100.php
Normal file
32
migrations/Version20260225000100.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DoctrineMigrations;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
use Doctrine\Migrations\AbstractMigration;
|
||||
|
||||
final class Version20260225000100 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'Adds retrieval_max_chunks and retrieval_vector_top_k to model_generation_config (without DB defaults)';
|
||||
}
|
||||
|
||||
public function up(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE model_generation_config
|
||||
ADD retrieval_max_chunks INT NOT NULL,
|
||||
ADD retrieval_vector_top_k INT NOT NULL
|
||||
');
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
$this->addSql('ALTER TABLE model_generation_config
|
||||
DROP retrieval_max_chunks,
|
||||
DROP retrieval_vector_top_k
|
||||
');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user