Refine scada tables

This commit is contained in:
WQY\qiong
2023-02-24 13:47:24 +08:00
parent c3ae9b306f
commit cef631b41b
10 changed files with 35 additions and 27 deletions

View File

@@ -0,0 +1,7 @@
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)
);