feat: 切换数据库至 PostgreSQL、支持环境变量
未来计划支持多种数据库,从 PostgreSQL 开始! 支持从环境变量读取启动设置,添加 nyahome env 命令用来持久化环境变量。 BREAKING CHANGE: 切换开发阶段的数据库,从 SQLite 到 PostgreSQL。
This commit is contained in:
@@ -14,7 +14,9 @@ dependencies = [
|
||||
"jinja2>=3.1.6",
|
||||
"openai>=2.38.0",
|
||||
"passlib[bcrypt]>=1.7.4",
|
||||
"psycopg[binary]>=3.3.4",
|
||||
"pydantic>=2.13.4",
|
||||
"python-dotenv>=1.2.2",
|
||||
"python-jose[cryptography]>=3.5.0",
|
||||
"python-multipart>=0.0.29",
|
||||
"pyyaml>=6.0.3",
|
||||
|
||||
Reference in New Issue
Block a user