Files
TJWaterServerBinary/resources/sql/create/30.scada_device_data.sql

8 lines
172 B
SQL

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