fix: 添加 psycopg 依赖,修复数据库连接错误
- 添加 psycopg==3.1.18(SQLAlchemy 2.0 推荐的 PostgreSQL 驱动) - 保留 psycopg2-binary 作为备用
This commit is contained in:
@@ -9,6 +9,7 @@ pydantic-settings==2.6.0
|
||||
|
||||
# 数据库
|
||||
psycopg2-binary==2.9.9
|
||||
psycopg==3.1.18
|
||||
sqlalchemy==2.0.35
|
||||
|
||||
# 认证
|
||||
|
||||
Reference in New Issue
Block a user