mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-09-08 09:26:36 +08:00
feat(database): 支持使用 SQLite 数据库
- 在 `.env.example` 文件中添加了 `DATABASE_TYPE` 变量,用于指定数据库类型,默认使用 mysql - 添加了 `DATABASE_TYPE` 和 `SQLITE_DATABASE` 配置项 - 在使用 mysql 时,对其他 MySQL 配置进行验证 - 添加 `aiosqlite` 依赖
This commit is contained in:
@@ -14,6 +14,7 @@ cryptography # 支持 MySQL 8+ caching_sha2_password 验证
|
||||
pymysql
|
||||
sqlalchemy
|
||||
aiomysql
|
||||
aiosqlite
|
||||
databases
|
||||
python-dotenv
|
||||
apscheduler
|
||||
|
||||
Reference in New Issue
Block a user