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