fix(models): models id change can not be save (#49)

This commit is contained in:
Fodesu
2026-02-14 23:40:47 +08:00
committed by GitHub
parent e6580d7837
commit 6f5ee013e6
3 changed files with 11 additions and 6 deletions
+1
View File
@@ -104,6 +104,7 @@ RETURNING *;
-- name: UpdateModelByModelID :one
UPDATE models
SET
model_id = sqlc.arg(new_model_id),
name = sqlc.arg(name),
llm_provider_id = sqlc.arg(llm_provider_id),
dimensions = sqlc.arg(dimensions),