rwadurian/backend/services/contribution-service/prisma/migrations
hailin e71f2aadfc fix: remove incorrect TEAM_BONUS records given to uplines
TEAM_BONUS should only be given to the adopter themselves, not to their
uplines. This migration deletes all TEAM_BONUS records where
account_sequence != source_account_sequence.

Also updates contribution_accounts totals in contribution-service.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 09:49:44 -08:00
..
20260111000000_init fix(contribution-service): 修复migration为完整初始化脚本 2026-01-11 06:31:24 -08:00
20260111100000_add_referral_user_ids fix(contribution-service): 修复CDC同步字段映射,支持完整同步referral数据 2026-01-11 09:27:01 -08:00
20260112020000_fix_status_varchar_length fix(contribution-service): 修复synced_adoptions.status字段长度 2026-01-11 09:45:08 -08:00
20260112200000_add_adoption_province_city feat(contribution/wallet): 实现贡献值2.0计算与钱包存储架构 2026-01-12 06:13:18 -08:00
20260113110000_fix_team_bonus_data fix: remove incorrect TEAM_BONUS records given to uplines 2026-01-12 09:49:44 -08:00
migration_lock.toml fix(contribution-service): 修复migration为完整初始化脚本 2026-01-11 06:31:24 -08:00