rwadurian/backend/services/planting-service/prisma/migrations
hailin 20b8d41212 feat(pre-planting): 支持省市名称存储,参照正常认种处理方式
- PurchasePrePlantingDto 添加可选字段 provinceName/cityName,
  与 SelectProvinceCityDto 保持一致,解决 NestJS forbidNonWhitelisted 400 错误
- pre_planting_positions 表新增 province_name/city_name 列(迁移)
- PrePlantingPosition aggregate 增加 provinceName/cityName 字段
- addPortions() 接受并存储省市名称
- getPosition() 返回 provinceName/cityName 供续购时显示

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 07:48:47 -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
20260227000000_add_transfer_locked_count feat(planting-service): 添加 transfer_locked_count 列的数据库迁移 2026-02-26 22:57:15 -08:00
20260228000000_add_province_city_name_to_position feat(pre-planting): 支持省市名称存储,参照正常认种处理方式 2026-02-28 07:48:47 -08:00
migration_lock.toml chore(prisma): add missing migration_lock.toml files 2025-12-09 21:39:20 -08:00