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,9 @@
create type scada_device_type as enum ('PRESSURE', 'DEMAND', 'QUALITY', 'LEVEL', 'FLOW');
create table scada_device
(
id text primary key
, name text
, address text
, type scada_device_type
);