From 7b3a9c09ca368d38b8cea44a838a79587430455a Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 4 Aug 2025 11:12:59 +0800 Subject: [PATCH] Fix: add missing colume to LLM cache of PostgreSQL implementation --- lightrag/kg/postgres_impl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index c30657cd..66f0dd6c 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -4053,6 +4053,7 @@ TABLES = { original_prompt TEXT, return_value TEXT, chunk_id VARCHAR(255) NULL, + cache_type VARCHAR(32), create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, CONSTRAINT LIGHTRAG_LLM_CACHE_PK PRIMARY KEY (workspace, mode, id)