diff --git a/packages/server/src/integrations/redis.ts b/packages/server/src/integrations/redis.ts index 4704b8e483..73ef2bb55c 100644 --- a/packages/server/src/integrations/redis.ts +++ b/packages/server/src/integrations/redis.ts @@ -6,6 +6,7 @@ interface RedisConfig { port: number username: string password?: string + db?: number } const SCHEMA: Integration = { @@ -32,6 +33,12 @@ const SCHEMA: Integration = { type: "password", required: false, }, + db: { + type: "number", + required: false, + display: "DB", + default: 0, + }, }, query: { create: { @@ -88,6 +95,7 @@ class RedisIntegration { port: this.config.port, username: this.config.username, password: this.config.password, + db: this.config.db, }) }