rwadurian/backend/services/mining-admin-service/prisma/migrations
hailin ea789f7fec fix(mining-admin): remove CDC sync table foreign key constraints
CDC events arrive asynchronously and order is not guaranteed.
Child records (referrals, accounts) may arrive before parent (users).
This follows CDC best practices: destination tables should not have FK constraints.

Reference: https://estuary.dev/blog/cdc-done-correctly/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 08:24:10 -08:00
..
20260111000000_init feat(2.0-services): 添加所有服务的初始Prisma migrations 2026-01-11 00:06:46 -08:00
20260112110000_add_referral_adoption_nickname fix(migrations): 修复数据库迁移脚本语法 2026-01-12 03:07:14 -08:00
20260112150000_add_unlocked_bonus_tiers feat(mining-admin): 重构算力构成展示,添加解锁状态 2026-01-12 04:59:51 -08:00
20260112200000_add_contribution_records_network_progress feat(mining-admin): add migration for contribution records and network progress tables 2026-01-12 08:07:16 -08:00
20260113000000_remove_cdc_foreign_keys fix(mining-admin): remove CDC sync table foreign key constraints 2026-01-12 08:24:10 -08:00
migration_lock.toml fix: add migration_lock.toml for prisma migrations 2026-01-12 08:09:34 -08:00