From 0f617ebe0cd632dad1daf8310feb6ec91e55ee67 Mon Sep 17 00:00:00 2001 From: team2 Date: Tue, 17 Feb 2026 20:37:08 +0100 Subject: [PATCH] optimize ui add new ki endpoint params --- migrations/Version20260217183037.php | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 migrations/Version20260217183037.php diff --git a/migrations/Version20260217183037.php b/migrations/Version20260217183037.php new file mode 100644 index 0000000..37d348e --- /dev/null +++ b/migrations/Version20260217183037.php @@ -0,0 +1,31 @@ +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'); + } +}