13 lines
382 B
SQL
13 lines
382 B
SQL
-- [PIPE_RISK_PROBABILITY]
|
|
-- 王名豪
|
|
-- 2025/04/16
|
|
-- 存储管道风险评价结果
|
|
|
|
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)
|
|
); |