feat(system):优化后端
1.新增后端测试 2.增加了后端的加密 3.增加了i18n(国际化)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Alembic versions
|
||||
|
||||
迁移脚本会被自动生成到这个目录。
|
||||
|
||||
常用命令(在项目根目录运行):
|
||||
|
||||
- 生成 baseline(首次接入,已有数据库):
|
||||
`alembic stamp head`
|
||||
|
||||
- 自动检测 ORM 与 DB 差异并生成迁移:
|
||||
`alembic revision --autogenerate -m "your message"`
|
||||
|
||||
- 应用所有未执行的迁移:
|
||||
`alembic upgrade head`
|
||||
|
||||
- 回滚一个版本:
|
||||
`alembic downgrade -1`
|
||||
|
||||
- 查看历史:
|
||||
`alembic history --verbose`
|
||||
Reference in New Issue
Block a user