This commit is contained in:
DingZQ
2025-04-16 22:08:18 +08:00
parent 3f0ed41da6
commit 70c6d56f95

View File

@@ -1,6 +1,13 @@
-- [PIPE_RISK_PROBABILITY]
-- 王名豪
-- 2025/04/16
-- 删除pipe_risk_probability这张表
-- 存储管道风险评价结果
drop table if exists pipe_risk_probability;
CREATE TABLE pipe_risk_probability (
id SERIAL PRIMARY KEY,
pipeID VARCHAR(255),
pipeage FLOAT,
risk_probability_now FLOAT,
x FLOAT[], -- Since x is a list, it's stored as text (stringified list)
y FLOAT[] -- Similarly, y will be stored as text (stringified list)
);