Files
shanxia2.0/docs/sql/migrations/2026-11-01-pl-quota-plan-configuration.sql
T

6 lines
371 B
SQL

-- 工单#4:计划用证配置。与九表额度迁移配套;执行前确认目标schema并备份。
-- 不迁移旧hazard_cert_ready到新配置,不从历史附件虚构额度或来源配对。
ALTER TABLE pl_plan
ADD COLUMN cert_configuration JSON NULL COMMENT '用证来源配对、候选选择与逐证条件确认;非放行状态'
AFTER hazard_cert_ready;