10 lines
196 B
SQL
10 lines
196 B
SQL
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
|
|
);
|