rwadurian/backend/services/contribution-service/prisma/migrations
hailin e7260be219 feat(contribution): 添加系统账户算力来源类型字段
- 添加 sourceType 字段区分算力来源类型:
  - FIXED_RATE: 固定比例分配(OPERATION 12%、PROVINCE 1%、CITY 2%)
  - LEVEL_OVERFLOW: 层级溢出归总部(上线未解锁该级别)
  - LEVEL_NO_ANCESTOR: 无上线归总部(该级无上线)
  - BONUS_TIER_1/2/3: 团队奖励未解锁归总部
- 添加 levelDepth 字段记录层级深度(1-15级)
- 更新前端表格显示来源类型列

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:23:50 -08:00
..
0001_init refactor(system-accounts): 移除 baseType 字段,使用 accountType+regionCode 复合唯一键 2026-01-20 21:29:01 -08:00
0002_add_soft_delete_to_system_contribution_records feat(contribution): 系统账户明细记录改为软删除 2026-01-21 03:09:41 -08:00
0003_add_source_type_to_system_contribution_records feat(contribution): 添加系统账户算力来源类型字段 2026-01-21 04:23:50 -08:00
migration_lock.toml fix(contribution-service): 修复migration为完整初始化脚本 2026-01-11 06:31:24 -08:00