ur47issues创建
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 11m35s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 11m35s
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# 01 — 保障设备当前绑卡唯一性
|
||||
|
||||
**What to build:** 为设备当前有效绑卡建立可发布的数据完整性保障:发布前发现存量重复时中止并交由人工修复,发布后同一设备最多保留一条当前有效绑定,且不自动删除任何绑定事实。
|
||||
|
||||
**Blocked by:** None — can start immediately.
|
||||
|
||||
**Status:** ready-for-agent
|
||||
|
||||
- [ ] 迁移门禁能检测存量重复的当前有效绑定,并在发现异常时阻止发布而不改写数据。
|
||||
- [ ] PostgreSQL 部分唯一索引仅约束未软删除、有效且当前的绑定记录,且不引入外键。
|
||||
- [ ] 集成测试证明唯一绑定可写入,重复绑定被拒绝,软删除或非当前记录不受误伤。
|
||||
|
||||
Reference in New Issue
Block a user