Add table scada_data
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
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)
|
||||||
|
);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
drop table if exists scada_data;
|
||||||
Reference in New Issue
Block a user