feat: mongodb 单后端精简分支 — Beanie 2.x + pymongo async,移除 MySQL/alembic
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
# ===== 数据库后端:mysql 或 mongodb =====
|
||||
DB_BACKEND=mongodb
|
||||
|
||||
# ===== MySQL(DB_BACKEND=mysql 时必填)=====
|
||||
MYSQL_DSN=mysql+aiomysql://root:root@127.0.0.1:3306/app?charset=utf8mb4
|
||||
|
||||
# ===== MongoDB(DB_BACKEND=mongodb 时必填)=====
|
||||
# ===== MongoDB =====
|
||||
MONGO_DSN=mongodb://127.0.0.1:27017
|
||||
MONGO_DB=app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user