将 Clover 从上层产品包旧仓库中独立出来,建立专属版本控制。 当前状态=纵切片端到端已打通(登录→选品→出文出图→审核→下载包), M1文案质量去套路化已验收。此提交作为后续按核销清单逐条修复的基线。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
576 B
Markdown
17 lines
576 B
Markdown
# alembic/
|
||
|
||
Alembic 数据库迁移脚本占位:
|
||
|
||
## 执行顺序
|
||
001 → 002 → 003 → 004(有外键依赖,必须按顺序)
|
||
|
||
## 版本规划
|
||
- 001_from_banana.py # users/login_records/user_preferences(从banana搬3张,改造)
|
||
- 002_multi_tenant_base.py # workspaces/workspace_members/user_api_keys
|
||
- 003_business_core.py # 业务主体7张(products等)
|
||
- 004_flywheel.py # preference_events
|
||
|
||
## 铁律
|
||
- matrix_accounts / preference_profile 一期不建(二期预留)
|
||
- Alembic 版本号统一管理,不允许手动改表
|