feat: 添加PostgreSQL支持并更新数据库配置
- 新增PostgreSQL服务支持,使用最新版17 - 更新Docker Compose配置以支持PostgreSQL和Redis - 修改数据库连接逻辑,支持PostgreSQL和SQLite - 更新文档以反映新的数据库配置和使用方法 - 优化数据模型,确保时间戳字段支持时区
This commit is contained in:
@@ -10,8 +10,12 @@ langchain-openai==0.2.0
|
||||
|
||||
# Database
|
||||
sqlalchemy==2.0.36
|
||||
aiosqlite==0.20.0
|
||||
greenlet>=3.3.0
|
||||
# PostgreSQL drivers
|
||||
asyncpg>=0.29.0
|
||||
psycopg[binary]>=3.1.0
|
||||
# SQLite (optional, for local dev without Docker)
|
||||
aiosqlite==0.20.0
|
||||
|
||||
# Redis for session storage
|
||||
redis>=5.0.0
|
||||
|
||||
Reference in New Issue
Block a user