feat: mysql 单后端精简分支 — SQLAlchemy 2.0 async + aiomysql + alembic

This commit is contained in:
2026-08-21 21:30:45 +08:00
parent 981bee5a46
commit 35bdc60b77
12 changed files with 31 additions and 278 deletions

View File

@@ -1,4 +1,8 @@
# fastapi-template
# fastapi-templatemysql 分支)
> 本分支为 **MySQLSQLAlchemy 2.0 async + aiomysql + alembic单后端**精简版。
> 双后端可切换版见 `main` 分支MongoDB 版见 `mongodb` 分支。
开箱即用的 FastAPI 项目模板。**一条环境变量切换 MySQL / MongoDB**,业务代码零改动。