Files
TJWaterServer/script/sql/create/30.scada_device_data.sql
2023-02-24 13:47:24 +08:00

8 lines
173 B
SQL

create table scada_device_data
(
device_id text not null references scada_device(id)
, time timestamp not null
, value numeric not null
, primary key (device_id, time)
);