Files
qt5-legatus-legacy/Lts/Tools/DBUpdate/updates/guez/1.30_guez_ism_ips.upd
T
2026-08-13 18:33:10 +02:00

22 lines
641 B
Plaintext
Executable File

--# $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;