Files
TJWaterServer/script/sql/create/30.scada_data.sql
2023-02-10 00:46:32 +08:00

8 lines
172 B
SQL

create table scada_data
(
device_id text not null references scada_model(device_id)
, time timestamp not null
, value numeric not null
, primary key (device_id, time)
);