rwadurian/backend/services/mining-admin-service/prisma/migrations
hailin 01ff873264 fix(mining-admin): use Prisma relationMode=prisma for CDC sync tables
Switch to Prisma's "prisma" relation mode to handle CDC event ordering issues.
This mode emulates foreign key relations at the Prisma Client layer instead of
creating database-level FK constraints, which is the recommended approach for
CDC scenarios where event arrival order cannot be guaranteed.

Reference: https://www.prisma.io/docs/orm/prisma-schema/data-model/relations/relation-mode

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 08:33:21 -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_use_prisma_relation_mode fix(mining-admin): use Prisma relationMode=prisma for CDC sync tables 2026-01-12 08:33:21 -08:00
migration_lock.toml fix: add migration_lock.toml for prisma migrations 2026-01-12 08:09:34 -08:00