Files
dpb/backend/sql/weld_refine.sql
T
34047007@qq.com b95053c52c init: 初始化 dpb 桃育种系统代码库
前后端 + 后端 FastAPI 全量源码、部署脚本与文档。
2026-08-06 00:17:49 +08:00

10 lines
644 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- ============================================================
-- 精修项落地:stage 感知 —— bre_prediction 补 stage 列(规格 §3.12 / §8.14
-- ------------------------------------------------------------
-- 幂等。bre_prediction 已由 bre_tables.sql 建好(旧库无 stage 列),此处补列。
-- stage 与 bre_trait.stage 一致:juvenile(幼龄)/evaluation(成株),默认成株。
-- ============================================================
ALTER TABLE bre_prediction ADD COLUMN IF NOT EXISTS stage varchar(16);
COMMENT ON COLUMN bre_prediction.stage IS '测定阶段(juvenile幼龄/evaluation成株)';