rwadurian/backend/services/planting-service/prisma/migrations
hailin ed6b48562a feat(pricing): 认种树动态定价涨价系统(总部运营成本压力涨价)
基础价 15831 USDT/棵不变,新增 HQ_PRICE_SUPPLEMENT 加价项全额归总部(S0000000001)。
支持手动调价+自动周期涨价,所有变更可审计,移动端动态展示价格及涨价预告。

- admin-service: TreePricingConfig/ChangeLog 表 + Service + Controller + 定时任务
- planting-service: 正式认种和预种订单快照 priceSupplement,动态价格校验
- reward-service: HQ_PRICE_SUPPLEMENT 分配类型,涨价金额直接入总部账户
- admin-web: Settings 页面新增定价配置区间(手动调价/自动涨价/变更历史)
- mobile-app: TreePricingService + 动态价格加载 + 涨价预告展示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 03:02:56 -08:00
..
20241204000000_init feat(db): add Prisma migrations for wallet-service and planting-service 2025-12-09 20:30:23 -08:00
20241210000000_add_outbox feat(planting): implement Outbox Pattern with consumer acknowledgment (B方案) 2025-12-09 21:32:16 -08:00
20241210100000_add_payment_compensation feat(planting): add payment reliability improvements 2025-12-10 06:31:54 -08:00
20241224000000_add_contract_signing feat(contract-signing): 添加电子合同签署功能及单点配置优化 2025-12-24 20:12:12 -08:00
20241225000000_add_signed_pdf_url feat(planting-service): 实现合同签名和PDF云存储功能 2025-12-25 03:35:15 -08:00
20241225100000_add_contract_no fix(migration): 移除 DO $$ 块,Prisma 不支持 PL/pgSQL 2025-12-25 05:55:42 -08:00
20241225110000_add_account_sequence_to_order feat(planting-service): 订单表添加 accountSequence,实现合同恢复任务 2025-12-25 08:19:36 -08:00
20260120000000_add_debezium_heartbeat fix: migration 使用 IF NOT EXISTS 防止重复创建 + clean 去掉 --remove-orphans 2026-01-30 00:37:29 -08:00
20260223000000_add_pre_planting_tables fix(pre-planting): 修复 5 个预种模块 Bug + 补全 3 服务 migration 2026-02-23 18:09:14 -08:00
20260226100000_add_price_supplement feat(pricing): 认种树动态定价涨价系统(总部运营成本压力涨价) 2026-02-26 03:02:56 -08:00
migration_lock.toml chore(prisma): add missing migration_lock.toml files 2025-12-09 21:39:20 -08:00