fix(tests): add mcp_servers table to v4 migration test fixture

Also includes OpenClaw icon that was added in previous commits.
This commit is contained in:
Jason
2026-02-01 22:28:38 +08:00
parent 28b125b34f
commit 95391f19ac
3 changed files with 17 additions and 0 deletions
+9
View File
@@ -297,6 +297,15 @@ fn schema_migration_v4_adds_pricing_model_columns() {
r#"
CREATE TABLE proxy_config (app_type TEXT PRIMARY KEY);
CREATE TABLE proxy_request_logs (request_id TEXT PRIMARY KEY, model TEXT NOT NULL);
CREATE TABLE mcp_servers (
id TEXT PRIMARY KEY,
name TEXT NOT NULL,
server_config TEXT NOT NULL,
enabled_claude INTEGER NOT NULL DEFAULT 0,
enabled_codex INTEGER NOT NULL DEFAULT 0,
enabled_gemini INTEGER NOT NULL DEFAULT 0,
enabled_opencode INTEGER NOT NULL DEFAULT 0
);
"#,
)
.expect("seed v4 schema");
File diff suppressed because one or more lines are too long
+7
View File
@@ -247,6 +247,13 @@ export const iconMetadata: Record<string, IconMetadata> = {
keywords: ["gpt", "chatgpt"],
defaultColor: "currentColor",
},
openclaw: {
name: "openclaw",
displayName: "OpenClaw",
category: "ai-provider",
keywords: ["openclaw", "lobster", "claw"],
defaultColor: "#ff4f40",
},
packycode: {
name: "packycode",
displayName: "PackyCode",