fix for stats and model selection
Some checks failed
Weekly OSV dependency audit / dependency-audit (push) Failing after 5s
Some checks failed
Weekly OSV dependency audit / dependency-audit (push) Failing after 5s
This commit is contained in:
11
migrations/20260905090000_allow_qwen_session_model/up.sql
Normal file
11
migrations/20260905090000_allow_qwen_session_model/up.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE sessions ADD COLUMN model_with_qwen TEXT
|
||||
CHECK (model_with_qwen IS NULL OR model_with_qwen IN (
|
||||
'deepseek-v4-flash-0731',
|
||||
'deepseek-v4-pro',
|
||||
'glm-5.2',
|
||||
'glm-5.3-flash',
|
||||
'qwen3.8-flash-next'
|
||||
));
|
||||
UPDATE sessions SET model_with_qwen = model;
|
||||
ALTER TABLE sessions DROP COLUMN model;
|
||||
ALTER TABLE sessions RENAME COLUMN model_with_qwen TO model;
|
||||
Reference in New Issue
Block a user