rwadurian/backend/services/auth-service
hailin e00c81153b docs(migrations): add detailed comments for idempotency tables
- Add comments explaining unique key composition:
  - CDC events: (source_topic, offset) = Kafka topic + message offset
  - Outbox events: (source_service, event_id) = service name + outbox ID
- Fix contribution-service migration:
  - Extend source_service column from VARCHAR(50) to VARCHAR(100)
  - Set source_service as NOT NULL to match schema
  - Use snake_case for index name consistency
- Clarify that offset/event_id are NOT database auto-increment IDs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 19:44:46 -08:00
..
prisma docs(migrations): add detailed comments for idempotency tables 2026-01-12 19:44:46 -08:00
src feat(auth): implement transactional idempotent CDC consumer for 1.0->2.0 sync 2026-01-12 19:29:42 -08:00
.env.example feat(auth-service,mining-app): 实现完整认证流程和CDC用户同步 2026-01-11 05:29:48 -08:00
Dockerfile fix(2.0-services): 更新package-lock.json并添加bcrypt编译支持 2026-01-10 23:53:11 -08:00
nest-cli.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package-lock.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
tsconfig.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00