init: 初始化 dpb 桃育种系统代码库

前后端 + 后端 FastAPI 全量源码、部署脚本与文档。
This commit is contained in:
34047007@qq.com
2026-08-06 00:17:49 +08:00
commit b95053c52c
1469 changed files with 322298 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
-- ============================================================
-- P1.8: tree_evaluation 单株评价 —— 试验研究点/座果率负载(规格 §4)
-- ------------------------------------------------------------
-- 幂等。bre_tree_evaluation 表已由 bre_tables.sql 建好。
-- ============================================================
ALTER TABLE bre_tree_evaluation ADD COLUMN IF NOT EXISTS trial_study_id integer REFERENCES bre_trial_study(id);
CREATE INDEX IF NOT EXISTS ix_bre_tree_evaluation_trial_study_id ON bre_tree_evaluation(trial_study_id);
ALTER TABLE bre_tree_evaluation ADD COLUMN IF NOT EXISTS crop_load double precision;