数据库修复
This commit is contained in:
parent
bd60524fde
commit
498c598a67
@ -66,6 +66,8 @@ export default async (knex: Knex): Promise<void> => {
|
||||
// 添加新字段
|
||||
await addColumn("o_agentDeploy", "maxOutputTokens", "integer");
|
||||
await addColumn("o_assets", "audioBindState", "integer");
|
||||
await addColumn("o_modelPrompt", "fileName", "string");
|
||||
await addColumn("o_modelPrompt", "path", "string");
|
||||
const vendorDataSelect = await u.db("o_vendorConfig").whereIn("id", ["deepseek", "atlascloud"]).select("*");
|
||||
if (!vendorDataSelect.find((i) => i.id == "deepseek")) {
|
||||
await u.db("o_vendorConfig").insert({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user