Files
lobehub/packages/database/migrations/0023_remove_param_and_doubao.sql
Arvin Xu af1f71572f ♻️ refactor: move database to packages (#8874)
* move db

* refactor db import

* refactor eval types

* fix tests

* fix tests

* fix tests

* fix db migration issues

* fix docker issue

* fix tests

* update alias

* fix tests

* update db test for client and server

* refactor db

* update codecov

* update codecov

* update codecov

* add docker pr comments
2025-08-22 11:09:03 +08:00

6 lines
386 B
SQL

-- Custom SQL migration file, put your code below! --
UPDATE agents SET chat_config = jsonb_set(chat_config, '{enableReasoningEffort}', 'false') WHERE chat_config ->> 'enableReasoningEffort' = 'true';
--> statement-breakpoint
UPDATE agents SET params = params - 'reasoning_effort' WHERE params ? 'reasoning_effort';
--> statement-breakpoint
DELETE FROM ai_providers WHERE id = 'doubao';