feat: 添加配置文件迁移阶段

This commit is contained in:
RockChinQ
2024-03-16 20:27:17 +08:00
parent 302d86056d
commit f91c9015bc
7 changed files with 179 additions and 78 deletions

View File

@@ -5,11 +5,12 @@ from ..audit import identifier
from . import stage
# 引入启动阶段实现以便注册
from .stages import load_config, setup_logger, build_app
from .stages import load_config, setup_logger, build_app, migrate
stage_order = [
"LoadConfigStage",
"MigrationStage",
"SetupLoggerStage",
"BuildAppStage"
]