13 lines
363 B
SQL
13 lines
363 B
SQL
-- [BURST_LOCATE_RESULT]
|
|
-- 王名豪
|
|
-- 2025/04/19
|
|
-- 存储爆管侦测定位结果
|
|
|
|
CREATE TABLE burst_locate_result (
|
|
id SERIAL PRIMARY KEY,
|
|
type varchar(32) not null,
|
|
burst_incident varchar(32) not null,
|
|
leakage float,
|
|
detect_time TIMESTAMP WITH TIME ZONE not null DEFAULT date_trunc('minute', CURRENT_TIMESTAMP),
|
|
locate_result JSON
|
|
) |