- 添加 deletedAt 字段到 AuthorizationRole 聚合根和 Prisma schema - revoke() 方法同时设置 deletedAt,使撤销的记录被软删除 - Repository 所有查询添加 deletedAt: null 过滤条件 - 创建部分唯一索引,只对未删除记录生效 (大厂通用做法) - 支持撤销授权后重新创建相同角色 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||