f3a92a793e
当前阶段只保留regulatory+consciousness两个系统节点,control_node代码保留但不再实例化。 系统节点新增display_name字段支持自定义显示名称,前端新增人设管理Tab支持模板CRUD。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Alembic versions
迁移脚本会被自动生成到这个目录。
常用命令(在项目根目录运行):
-
生成 baseline(首次接入,已有数据库):
alembic stamp head -
自动检测 ORM 与 DB 差异并生成迁移:
alembic revision --autogenerate -m "your message" -
应用所有未执行的迁移:
alembic upgrade head -
回滚一个版本:
alembic downgrade -1 -
查看历史:
alembic history --verbose