drop table if exists scada_device; drop type if exists scada_device_type;