--# $Id$ --# $HeadURL$ --# $Author$ ------------------------------------------------------------------------- -- INFO: Move OutdoorIPS (6) to IndoorIPS (5) -- PROJECT: Guez -- DATE: 2021-09-21 -- VERSION: 1.30 ------------------------------------------------------------------------- -- GLOBAL: ISM; BEGIN; UPDATE ism.ism_structure_element SET mounting_point_type_id = 6 WHERE mounting_point_type_id = 5; UPDATE ism.ism_asset SET mounting_point_type_id = 6 WHERE mounting_point_type_id = 5; DELETE FROM ism.ism_asset WHERE mounting_point_type_id = 6 AND (barcode is null or length(barcode) = 0); COMMIT; -- EXERCISE: NONE; BEGIN; COMMIT;