Add table scada_data

This commit is contained in:
WQY\qiong
2023-02-10 00:46:32 +08:00
parent 1520847813
commit de6e4284d7
2 changed files with 8 additions and 0 deletions

View File

@@ -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)
);

View File

@@ -0,0 +1 @@
drop table if exists scada_data;