Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+396
@@ -0,0 +1,396 @@
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AES GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_AES;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AES GRANT SELECT, REFERENCES ON TABLES TO ets_AES;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AES GRANT EXECUTE ON FUNCTIONS TO ets_AES;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AES GRANT ALL ON SEQUENCES TO ets_AES;
|
||||
SET SEARCH_PATH TO AES;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ASM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_ASM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ASM GRANT SELECT, REFERENCES ON TABLES TO ets_ASM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ASM GRANT EXECUTE ON FUNCTIONS TO ets_ASM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ASM GRANT ALL ON SEQUENCES TO ets_ASM;
|
||||
SET SEARCH_PATH TO ASM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AVM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_AVM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AVM GRANT SELECT, REFERENCES ON TABLES TO ets_AVM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AVM GRANT EXECUTE ON FUNCTIONS TO ets_AVM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA AVM GRANT ALL ON SEQUENCES TO ets_AVM;
|
||||
SET SEARCH_PATH TO AVM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA CORE GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_CORE;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA CORE GRANT SELECT, REFERENCES ON TABLES TO ets_CORE;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA CORE GRANT EXECUTE ON FUNCTIONS TO ets_CORE;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA CORE GRANT ALL ON SEQUENCES TO ets_CORE;
|
||||
SET SEARCH_PATH TO CORE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA EXM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_EXM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA EXM GRANT SELECT, REFERENCES ON TABLES TO ets_EXM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA EXM GRANT EXECUTE ON FUNCTIONS TO ets_EXM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA EXM GRANT ALL ON SEQUENCES TO ets_EXM;
|
||||
SET SEARCH_PATH TO EXM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_FLM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLM GRANT SELECT, REFERENCES ON TABLES TO ets_FLM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLM GRANT EXECUTE ON FUNCTIONS TO ets_FLM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLM GRANT ALL ON SEQUENCES TO ets_FLM;
|
||||
SET SEARCH_PATH TO FLM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLT GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_FLT;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLT GRANT SELECT, REFERENCES ON TABLES TO ets_FLT;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLT GRANT EXECUTE ON FUNCTIONS TO ets_FLT;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA FLT GRANT ALL ON SEQUENCES TO ets_FLT;
|
||||
SET SEARCH_PATH TO FLT;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA GNA GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_GNA;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA GNA GRANT SELECT, REFERENCES ON TABLES TO ets_GNA;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA GNA GRANT EXECUTE ON FUNCTIONS TO ets_GNA;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA GNA GRANT ALL ON SEQUENCES TO ets_GNA;
|
||||
SET SEARCH_PATH TO GNA;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ISM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_ISM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ISM GRANT SELECT, REFERENCES ON TABLES TO ets_ISM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ISM GRANT EXECUTE ON FUNCTIONS TO ets_ISM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA ISM GRANT ALL ON SEQUENCES TO ets_ISM;
|
||||
SET SEARCH_PATH TO ISM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MDM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_MDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MDM GRANT SELECT, REFERENCES ON TABLES TO ets_MDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MDM GRANT EXECUTE ON FUNCTIONS TO ets_MDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MDM GRANT ALL ON SEQUENCES TO ets_MDM;
|
||||
SET SEARCH_PATH TO MDM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MSG GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_MSG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MSG GRANT SELECT, REFERENCES ON TABLES TO ets_MSG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MSG GRANT EXECUTE ON FUNCTIONS TO ets_MSG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA MSG GRANT ALL ON SEQUENCES TO ets_MSG;
|
||||
SET SEARCH_PATH TO MSG;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA OPM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_OPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA OPM GRANT SELECT, REFERENCES ON TABLES TO ets_OPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA OPM GRANT EXECUTE ON FUNCTIONS TO ets_OPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA OPM GRANT ALL ON SEQUENCES TO ets_OPM;
|
||||
SET SEARCH_PATH TO OPM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PDM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_PDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PDM GRANT SELECT, REFERENCES ON TABLES TO ets_PDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PDM GRANT EXECUTE ON FUNCTIONS TO ets_PDM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PDM GRANT ALL ON SEQUENCES TO ets_PDM;
|
||||
SET SEARCH_PATH TO PDM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PPM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_PPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PPM GRANT SELECT, REFERENCES ON TABLES TO ets_PPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PPM GRANT EXECUTE ON FUNCTIONS TO ets_PPM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA PPM GRANT ALL ON SEQUENCES TO ets_PPM;
|
||||
SET SEARCH_PATH TO PPM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SOM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_SOM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SOM GRANT SELECT, REFERENCES ON TABLES TO ets_SOM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SOM GRANT EXECUTE ON FUNCTIONS TO ets_SOM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SOM GRANT ALL ON SEQUENCES TO ets_SOM;
|
||||
SET SEARCH_PATH TO SOM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SRM GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_SRM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SRM GRANT SELECT, REFERENCES ON TABLES TO ets_SRM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SRM GRANT EXECUTE ON FUNCTIONS TO ets_SRM;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA SRM GRANT ALL ON SEQUENCES TO ets_SRM;
|
||||
SET SEARCH_PATH TO SRM;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA TAB GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_TAB;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA TAB GRANT SELECT, REFERENCES ON TABLES TO ets_TAB;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA TAB GRANT EXECUTE ON FUNCTIONS TO ets_TAB;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA TAB GRANT ALL ON SEQUENCES TO ets_TAB;
|
||||
SET SEARCH_PATH TO TAB;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA WHG GRANT SELECT,INSERT,UPDATE,DELETE,TRUNCATE ON TABLES TO ets_WHG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA WHG GRANT SELECT, REFERENCES ON TABLES TO ets_WHG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA WHG GRANT EXECUTE ON FUNCTIONS TO ets_WHG;
|
||||
ALTER DEFAULT PRIVILEGES IN SCHEMA WHG GRANT ALL ON SEQUENCES TO ets_WHG;
|
||||
SET SEARCH_PATH TO WHG;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
--BEGIN;
|
||||
SET SEARCH_PATH TO PUBLIC;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create db_version table for all existent DB schemas', '1.00');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Create db_version table for all existent DB schemas
|
||||
-- PROJECT: ALL
|
||||
-- DATE: 2021-02-10
|
||||
-- VERSION: 1.00
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ALL;
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,40 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Create new DB user ets_ex_00 and set grants, create public function to reset user grants
|
||||
-- PROJECT: ALL
|
||||
-- DATE: 2022-02-16
|
||||
-- VERSION: 2.00
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PUBLIC;
|
||||
BEGIN;
|
||||
SELECT create_user_if_not_exists('ets_ex_00');
|
||||
CREATE OR REPLACE FUNCTION public.revoke_user_if_exists(rolename text, schema text) RETURNS TEXT AS
|
||||
$$
|
||||
BEGIN
|
||||
IF EXISTS (SELECT * FROM pg_roles WHERE rolname = rolename) THEN
|
||||
EXECUTE format('REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA %s FROM %s CASCADE;', schema, rolename);
|
||||
EXECUTE format('REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA %s FROM %s CASCADE;', schema, rolename);
|
||||
EXECUTE format('REVOKE ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA %s FROM %s CASCADE;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA %s REVOKE ALL ON TABLES FROM %s;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE ets_exm IN SCHEMA %s REVOKE ALL ON TABLES FROM %s;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA %s REVOKE ALL ON FUNCTIONS FROM %s;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE ets_exm IN SCHEMA %s REVOKE ALL ON FUNCTIONS FROM %s;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA %s REVOKE ALL ON SEQUENCES FROM %s;', schema, rolename);
|
||||
EXECUTE format('ALTER DEFAULT PRIVILEGES FOR ROLE ets_exm IN SCHEMA %s REVOKE ALL ON SEQUENCES FROM %s;', schema, rolename);
|
||||
RETURN 'USER REVOKED';
|
||||
ELSE
|
||||
RETURN format('USER ''%I'' DOES NOT EXIST', rolename);
|
||||
END IF;
|
||||
END;
|
||||
$$
|
||||
LANGUAGE plpgsql;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
|
||||
COMMIT;
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
--BEGIN;
|
||||
SET SEARCH_PATH TO PUBLIC;
|
||||
|
||||
-- create user and schema
|
||||
SELECT create_user_if_not_exists('ets_flt');
|
||||
-- GRANT ets_ro TO ets_flt;
|
||||
GRANT ets_flt TO ets_admin;
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS flt;
|
||||
ALTER SCHEMA flt OWNER TO ets_flt;
|
||||
GRANT ALL ON SCHEMA flt TO ets_admin;
|
||||
|
||||
INSERT INTO db_version (description, version) VALUES ('Create new DB user ets_flt and global schema flt', '2.40');
|
||||
|
||||
|
||||
--COMMIT;
|
||||
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Create new DB user ets_flt and global schema flt
|
||||
-- PROJECT: ALL
|
||||
-- DATE: 2022-10-06
|
||||
-- VERSION: 2.40
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PUBLIC;
|
||||
BEGIN;
|
||||
-- create user and schema
|
||||
SELECT create_user_if_not_exists('ets_flt');
|
||||
-- GRANT ets_ro TO ets_flt;
|
||||
GRANT ets_flt TO ets_admin;
|
||||
|
||||
CREATE SCHEMA IF NOT EXISTS flt;
|
||||
ALTER SCHEMA flt OWNER TO ets_flt;
|
||||
GRANT ALL ON SCHEMA flt TO ets_admin;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update column ex_NN.rec_equipment_state.vulnerability_kind_id = pdm_vulnerability_kind.ta_vulnerability_kind
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-10
|
||||
-- VERSION: 1.01
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
UPDATE rec_equipment_state
|
||||
SET vulnerability_kind_id = (SELECT ta_vulnerability_kind FROM pdm.pdm_vulnerability_kind WHERE rec_equipment_state.vulnerability_kind_id = pdm.pdm_vulnerability_kind.id);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,25 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: drop PK and column id from pdm_vulnerability_kind and add PK on ta_vulnerability_kind
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-10
|
||||
-- VERSION: 1.02
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
-- drop old primary key on column id
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP CONSTRAINT IF EXISTS PK_pdm_vulnerability_kind_id CASCADE;
|
||||
-- drop column id
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP COLUMN IF EXISTS id CASCADE;
|
||||
-- create new primary key on ta_vulnerability_kind
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP CONSTRAINT IF EXISTS PK_pdm_vulnerability_kind_ta_vulnerability_kind CASCADE;
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind ADD CONSTRAINT PK_pdm_vulnerability_kind_ta_vulnerability_kind PRIMARY KEY (ta_vulnerability_kind);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: AES updates (enum, explosion single central table, recorded table and view)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-12
|
||||
-- VERSION: 1.03
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
|
||||
-- enum
|
||||
ALTER TABLE IF EXISTS aes_fuse_type DROP CONSTRAINT IF EXISTS PK_aes_fuse_type_id CASCADE;
|
||||
DROP TABLE IF EXISTS aes_fuse_type CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS aes_fuse_type (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
COMMENT ON TABLE aes_fuse_type IS 'static data (<b>not</b> project specific) generate from enum';
|
||||
ALTER TABLE IF EXISTS aes_fuse_type ADD CONSTRAINT PK_aes_fuse_type_id PRIMARY KEY (id);
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (0, 'FtProximity');
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (1, 'FtImpact');
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (2, 'FtDelay');
|
||||
|
||||
-- table aes_explosion_single_central
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS PK_aes_explosion_single_central_id CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS FK_aes_explosion_single_central_explosion_single_id_aes_explosi CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS FK_aes_explosion_single_central_fuse_type_id_aes_fuse_type_id CASCADE;
|
||||
DROP TABLE IF EXISTS aes_explosion_single_central CASCADE;
|
||||
CREATE SEQUENCE IF NOT EXISTS aes_explosion_single_central_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE TABLE IF NOT EXISTS aes_explosion_single_central (
|
||||
id integer DEFAULT nextval(( 'aes_explosion_single_central_id_seq'::text)::regclass),
|
||||
explosion_single_id integer,
|
||||
angle double precision,
|
||||
fuse_type_id integer
|
||||
);
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT PK_aes_explosion_single_central_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT FK_aes_explosion_single_central_explosion_single_id_aes_explosi FOREIGN KEY (explosion_single_id) REFERENCES aes_explosion_single (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT FK_aes_explosion_single_central_fuse_type_id_aes_fuse_type_id FOREIGN KEY (fuse_type_id) REFERENCES aes_fuse_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- recorded table rec_explosion_single_central
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central DROP CONSTRAINT IF EXISTS PK_rec_explosion_single_central_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central DROP CONSTRAINT IF EXISTS IDX_rec_explosion_single_central_sample_time CASCADE;
|
||||
DROP TABLE IF EXISTS rec_explosion_single_central CASCADE;
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_explosion_single_central_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE TABLE IF NOT EXISTS rec_explosion_single_central (
|
||||
id integer,
|
||||
name text,
|
||||
is_deleted boolean,
|
||||
is_used boolean,
|
||||
sample_time bigint,
|
||||
charge_type_id integer,
|
||||
effect_duration integer,
|
||||
effect_start bigint,
|
||||
effect_state_id integer,
|
||||
party_id integer,
|
||||
participant_id integer,
|
||||
effect_marking_in_ta boolean,
|
||||
external_id bigint,
|
||||
impact_position_lon double precision,
|
||||
impact_position_lat double precision,
|
||||
fire_request_time bigint,
|
||||
altitude integer,
|
||||
purpose text,
|
||||
angle double precision,
|
||||
fuse_type integer,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_explosion_single_central_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_explosion_single_central IS 'recorded data for topic ExplosionSingleCentral';
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD CONSTRAINT PK_rec_explosion_single_central_rec_id PRIMARY KEY (rec_id);
|
||||
CREATE INDEX IDX_rec_explosion_single_central_sample_time ON rec_explosion_single_central (sample_time);
|
||||
|
||||
-- view aes_explosion_single_central_view
|
||||
DROP VIEW IF EXISTS aes_explosion_single_central_view;
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_central_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single_central.explosion_single_id AS explosion_single_id, aes_explosion_single_central.angle AS angle, aes_explosion_single_central.fuse_type_id AS fuse_type_id, aes_explosion_single_central.id AS aes_explosion_single_central_id
|
||||
FROM aes_explosion_single_central, aes_entity, aes_explosion, aes_explosion_single
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id AND
|
||||
aes_explosion_single.id = aes_explosion_single_central.explosion_single_id;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,42 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Added missing operator rights descriptions
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-02-22
|
||||
-- VERSION: 1.04
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: OPM;
|
||||
BEGIN;
|
||||
-- old right without description
|
||||
UPDATE opm.opm_group SET description = 'Edit Charge Visibility' WHERE name = 'ChargeVisibilityEdit';
|
||||
--UPDATE opm.opm_group SET description = 'SanNineLiner operator rights' WHERE name = 'SanNineLiner';
|
||||
--UPDATE opm.opm_group SET description = 'Edit SanNineLiner' WHERE name = 'SanNineLinerEdit';
|
||||
--UPDATE opm.opm_group SET description = 'Show SanNineLiner' WHERE name = 'SanNineLinerShow';
|
||||
UPDATE opm.opm_group SET description = 'View Operational Plannings' WHERE name = 'OperationalPlanningView';
|
||||
UPDATE opm.opm_group SET description = 'Administrator rights' WHERE name = 'Administrator';
|
||||
UPDATE opm.opm_group SET description = 'Shut down workstations' WHERE name = 'ShutdownWorkstations';
|
||||
UPDATE opm.opm_group SET description = 'Database Administration' WHERE name = 'DatabaseAdministration';
|
||||
UPDATE opm.opm_group SET description = 'Change exercise state' WHERE name = 'ExerciseStateEdit';
|
||||
UPDATE opm.opm_group SET description = 'Edit Codification Data' WHERE name = 'CodificationDataEdit';
|
||||
UPDATE opm.opm_group SET description = 'Show Codification Data BLUFOR' WHERE name = 'CodificationDataShowBLUFOR';
|
||||
UPDATE opm.opm_group SET description = 'Show Codification Data OPFOR' WHERE name = 'CodificationDataShowOPFOR';
|
||||
UPDATE opm.opm_group SET description = 'Allow access to the voice communication channels' WHERE name = 'AvVoiceCommunicationAccess';
|
||||
UPDATE opm.opm_group SET description = 'Edit Combat Net Radio Frequency Planning' WHERE name = 'FrequencyPlanningEdit';
|
||||
--UPDATE opm.opm_group SET description = 'Show Guez Nasat Configuration' WHERE name = 'GuezNasatConfigurationShow';
|
||||
--UPDATE opm.opm_group SET description = 'Edit Guez Nasat Configuration' WHERE name = 'GuezNasatConfigurationEdit';
|
||||
|
||||
-- new operator right for PvSan Reports
|
||||
--INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (520159235, 'ReportsEditSan', 'Create and Edit PvSan Reports');
|
||||
--INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (520093698, 'ReportsEditSan', 'Create and Edit PvSan Reports', 1, true);
|
||||
--INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (520093698, 520159235); -- group_id is: 520093698 = 0x1f000002
|
||||
--INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (520159232, 520093698); -- Reports
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,56 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM views, grant select on views to all users, export csv commented
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-22
|
||||
-- VERSION: 1.05
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_mpa_barcodes;
|
||||
CREATE OR REPLACE VIEW ism.ism_mpa_barcodes AS
|
||||
SELECT asset_id, a.barcode AS asset_barcode, structure_element_id, se.barcode AS se_barcode, se.main_structure_element_id, mse.name
|
||||
FROM ism.ism_mounting_point_asset mpa, ism.ism_asset a, ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE mpa.asset_id = a.id AND mpa.structure_element_id = se.id AND se.main_structure_element_id = mse.id AND mse.id > 300
|
||||
AND length(a.barcode) > 0 AND length(se.barcode) > 0
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_mpa_barcodes) TO '/opt/postgres/backup/ism_mpa_barcodes.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_se_barcodes;
|
||||
CREATE OR REPLACE VIEW ism.ism_se_barcodes AS
|
||||
SELECT se.id,se.name,se.main_structure_element_id,mse.name as main_name,se.barcode
|
||||
FROM ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE se.main_structure_element_id = mse.id AND length(se.barcode) > 0 AND mse.id > 300
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_se_barcodes WHERE main_structure_element_id > 300) TO '/opt/postgres/backup/ism_se_barcodes.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_view_plans;
|
||||
CREATE OR REPLACE VIEW ism.ism_view_plans AS
|
||||
SELECT mpp.id, mpp.mounting_point_schedule_id, mpp.structure_element_id, se.main_structure_element_id, se.name, mse.name as main_name
|
||||
FROM ism.ism_mounting_point_plan mpp, ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE se.id = mpp.structure_element_id AND se.main_structure_element_id = mse.id AND mse.id > 300
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_view_plans) TO '/opt/postgres/backup/ism_view_plans.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_view_buildings;
|
||||
CREATE OR REPLACE VIEW ism.ism_view_buildings AS
|
||||
SELECT se.id AS se_id, se.main_structure_element_id AS bldg_id, mse.model_id, se.display_name, se.barcode AS se_barcode, se.rel_position_x, se.rel_position_y, se.rel_position_z, mpt.name AS mp_type, mpa.asset_id, at.barcode AS asset_barcode
|
||||
FROM ism.ism_mounting_point_type mpt, ism.ism_main_structure_element mse, ism.ism_structure_element se LEFT OUTER JOIN ism.ism_mounting_point_asset mpa ON se.id = mpa.structure_element_id
|
||||
LEFT OUTER JOIN ism.ism_asset at ON mpa.asset_id = at.id
|
||||
WHERE se.mounting_point_type_id = mpt.id AND se.main_structure_element_id = mse.id
|
||||
ORDER BY se.main_structure_element_id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_view_buildings) TO '/opt/postgres/backup/ism_view_buildings.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
-- grant select on views to all users
|
||||
GRANT SELECT ON ALL TABLES IN SCHEMA ism TO ets_ro;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,27 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! add column sanitation_unique_id, drop column procedures_needed, change type for procedures_taken as bigint.
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-22
|
||||
-- VERSION: 1.06
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_dynamic_participant_data ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_data ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_result ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ADD COLUMN IF NOT EXISTS sanitation_result integer;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation DROP COLUMN IF EXISTS procedures_needed;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ADD COLUMN IF NOT EXISTS procedures_taken bigint;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ALTER COLUMN procedures_taken TYPE bigint;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update values in PDM building charge effect
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-23
|
||||
-- VERSION: 1.07
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! New Sanitation Procedures in PDM, changes in EX rec_sanitation, new sanitation materials
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-05-18
|
||||
-- VERSION: 1.08
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: new columns originator_building_id and originator_room_id in recorded table rec_hit_line_info (SVN 53507)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-05-27
|
||||
-- VERSION: 1.09
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_hit_line_info ADD COLUMN IF NOT EXISTS originator_building_id INTEGER;
|
||||
ALTER TABLE IF EXISTS rec_hit_line_info ADD COLUMN IF NOT EXISTS originator_room_id INTEGER;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Fixes NLDEVCTRL-925 (RPL Nr 728: MunCode falsch)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-21
|
||||
-- VERSION: 1.10
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add role ctc_sv (backwords compatibility, used for MBA)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.11
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PUBLIC;
|
||||
BEGIN;
|
||||
-- For Convenience (Backwards Usability)
|
||||
--CREATE USER ctc PASSWORD 'ctc11de' CREATEROLE;
|
||||
CREATE USER ctc_sv PASSWORD 'ctc11de' CREATEROLE;
|
||||
--CREATE USER ctc_ws PASSWORD 'ctc11de' CREATEROLE;
|
||||
GRANT ets_ro TO ctc, ctc_sv;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Added column Name to ISM MPA (SVN 53407)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.12
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
ALTER TABLE ism_mounting_point_asset ADD COLUMN name text;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,40 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add table egcu_relay_info in ASM (SVN 53346)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.13
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ASM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS PK_asm_egcu_relay_info_id CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_id CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_name CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_relay_id CASCADE;
|
||||
DROP TABLE IF EXISTS asm_egcu_relay_info CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS asm_egcu_relay_info (
|
||||
id integer DEFAULT nextval(( 'asm.asm_egcu_relay_info_id_seq'::text)::regclass),
|
||||
relay_id integer, -- Index of Relay
|
||||
name text, -- Name of relay
|
||||
description text, -- description of relay
|
||||
properties text -- properties of relay
|
||||
);
|
||||
COMMENT ON TABLE asm_egcu_relay_info IS 'EGCU-Relay-Names';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.relay_id IS 'Index of Relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.name IS 'Name of relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.description IS 'description of relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.properties IS 'properties of relay';
|
||||
CREATE SEQUENCE IF NOT EXISTS asm_egcu_relay_info_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info ADD CONSTRAINT PK_asm_egcu_relay_info_id PRIMARY KEY (id);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_id UNIQUE (id);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_name UNIQUE (name);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_relay_id UNIQUE (relay_id);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,53 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add table bcu_egcu_relay_infos in Exercise BLD (SVN 53304, 53573)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-23
|
||||
-- VERSION: 1.14
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- Drop tables/views/sequences/constraints
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS PK_bcu_egcu_relay_infos_id CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_id CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_index CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_name CASCADE;
|
||||
DROP TABLE IF EXISTS bcu_egcu_relay_infos CASCADE;
|
||||
|
||||
-- Create tables
|
||||
CREATE TABLE IF NOT EXISTS bcu_egcu_relay_infos (
|
||||
id integer DEFAULT nextval(( 'bcu_egcu_relay_infos_id_seq'::text)::regclass),
|
||||
asset_id bigint, -- 0 = default for all EGCUs >, 0 = assetId for special entries
|
||||
index integer DEFAULT nextval(( 'bcu_egcu_relay_infos_index_seq'::text)::regclass), -- Index of Relay
|
||||
name text, -- Name of relay
|
||||
description text, -- description of relay
|
||||
properties text -- properties of relay
|
||||
);
|
||||
COMMENT ON TABLE bcu_egcu_relay_infos IS 'EGCU-Relay-Names';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.asset_id IS '0 = default for all EGCUs >, 0 = assetId for special entries';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.index IS 'Index of Relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.name IS 'Name of relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.description IS 'description of relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.properties IS 'properties of relay';
|
||||
|
||||
-- Create sequence(s)
|
||||
CREATE SEQUENCE IF NOT EXISTS bcu_egcu_relay_infos_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS bcu_egcu_relay_infos_index_seq INCREMENT 1 START 0 MINVALUE 0;
|
||||
|
||||
-- Create primary keys
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos ADD CONSTRAINT PK_bcu_egcu_relay_infos_id PRIMARY KEY (id);
|
||||
|
||||
-- Indexes
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_id UNIQUE (id);
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_index UNIQUE (index);
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_name UNIQUE (name);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add values in table asm.egcu_relay_info (SVN 53405)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-23
|
||||
-- VERSION: 1.15
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
-- EGCU Relay Infos Note: Description and Properties available but unused, Don't insert unused relays!
|
||||
--INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name) VALUES (1, 0, 'Lampe');
|
||||
--INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name) VALUES (2, 1, 'Heizung');
|
||||
--INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name, properties) VALUES (3, 2, 'Nebel', '{"allowPermanentOn":false}');
|
||||
--ALTER SEQUENCE asm.asm_egcu_relay_info_id_seq RESTART WITH 4;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update values in PDM (SVN 53828) - gear_type_charge_type, building_charge_effect, charge_type Nebel
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-03-25
|
||||
-- VERSION: 1.16
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! New operator rights EgcuMonitorShow and EgcuRoomsEdit
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-06-29
|
||||
-- VERSION: 1.17
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: OPM;
|
||||
BEGIN;
|
||||
--- Base: 738263040, EgcuMonitorShow - 738263047 = 0x2c010007
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (738263047, 'EgcuMonitorShow', 'Show EgcuMonitor');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (738197509, 'EgcuMonitorShow', 'Show EgcuMonitor', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (738197509, 738263047); -- group_id is: 738197509 = 0x2c000005
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (738263040, 738197509); -- Service Monitors - Participants
|
||||
--- Base: 738263040, EgcuRoomsEdit - 738263048 = 0x2c010008
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (738263048, 'EgcuRoomsEdit', 'Edit the rooms belonging to one segment.');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (738197510, 'EgcuRoomsEdit', 'Edit the rooms belonging to one segment.', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (738197510, 738263048); -- group_id is: 738197510 = 0x2c000006
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (738263040, 738197510); -- Service Monitors - Participants
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update dis_entity in PDM and generate codes 2xxx, 4xxx etc.
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-07-26
|
||||
-- VERSION: 1.18
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update PDM Gear Type fr Puma
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-09
|
||||
-- VERSION: 1.19
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: new indexes on eem_event table (on sample_time and event_type) to optimize search (SVN 54364)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-12
|
||||
-- VERSION: 1.20
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
CREATE INDEX IDX_eem_event_sample_time ON eem_event (sample_time);
|
||||
CREATE INDEX IDX_eem_event_event_type_id ON eem_event (event_type_id);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,38 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM and EX BLD Bridge modifications
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-17
|
||||
-- VERSION: 1.21
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
INSERT INTO ism_structure_element_type (id, name) VALUES (11, 'Bridge');
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status DROP CONSTRAINT IF EXISTS PK_rec_bridge_status_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status DROP CONSTRAINT IF EXISTS IDX_rec_bridge_status_sample_time CASCADE;
|
||||
DROP TABLE IF EXISTS rec_bridge_status CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS rec_bridge_status (
|
||||
id integer,
|
||||
name text,
|
||||
is_deleted boolean,
|
||||
is_used boolean,
|
||||
sample_time bigint,
|
||||
building_id integer,
|
||||
status integer,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_bridge_status_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_bridge_status IS 'recorded data for topic BridgeStatus';
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_bridge_status_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status ADD CONSTRAINT PK_rec_bridge_status_rec_id PRIMARY KEY (rec_id);
|
||||
CREATE INDEX IDX_rec_bridge_status_sample_time ON rec_bridge_status (sample_time);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,106 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM changes from Resource Management branch
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-17
|
||||
-- VERSION: 1.22
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ism_mounting_point_plan DROP CONSTRAINT IF EXISTS FK_ism_mounting_point_plan_mounting_point_state_ism_mounting_po CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_mounting_point_schedule DROP CONSTRAINT IF EXISTS FK_ism_mounting_point_schedule_status_id_ism_schedule_status_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status DROP CONSTRAINT IF EXISTS PK_ism_schedule_status_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS PK_ism_schedule_status_change_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS FK_ism_schedule_status_change_schedule_id_ism_mounting_point_sc CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS FK_ism_schedule_status_change_schedule_status_id_ism_schedule_s CASCADE;
|
||||
|
||||
DROP TABLE IF EXISTS ism_schedule_status CASCADE;
|
||||
DROP TABLE IF EXISTS ism_schedule_status_change CASCADE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS ism_schedule_status (
|
||||
id integer DEFAULT nextval(( 'ism.ism_schedule_status_id_seq'::text)::regclass),
|
||||
name text
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS ism_schedule_status_change (
|
||||
id integer DEFAULT nextval(( 'ism.ism_schedule_status_change_id_seq'::text)::regclass),
|
||||
schedule_id integer,
|
||||
schedule_status_id integer,
|
||||
changed_at bigint,
|
||||
operator_id integer,
|
||||
workstation_id integer
|
||||
);
|
||||
COMMENT ON TABLE ism_schedule_status_change IS 'instrumentation plan status changes';
|
||||
|
||||
ALTER TABLE ism_mounting_point_plan ADD COLUMN IF NOT EXISTS mounting_point_state integer DEFAULT 0;
|
||||
COMMENT ON COLUMN ism_mounting_point_plan.mounting_point_state IS '(-1, 0, 1) - (Empty, Idle, Equipped)';
|
||||
|
||||
DELETE FROM ism_mounting_point_state WHERE id = -1;
|
||||
INSERT INTO ism_mounting_point_state (id, name) VALUES (-1, 'Empty');
|
||||
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (0, 'Unknown');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (1, 'Created');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (2, 'Prepared');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (3, 'Activated');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (4, 'Expired');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (5, 'Removed');
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS ism_schedule_status_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS ism_schedule_status_change_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
|
||||
ALTER TABLE IF EXISTS ism_schedule_status ADD CONSTRAINT PK_ism_schedule_status_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change ADD CONSTRAINT PK_ism_schedule_status_change_id PRIMARY KEY (id);
|
||||
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS status_id INTEGER;
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS time_created bigint DEFAULT (extract(epoch from now()) * 1000);
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS time_prepared bigint;
|
||||
|
||||
COMMENT ON COLUMN ism_mounting_point_schedule.time_start IS 'time activated';
|
||||
COMMENT ON COLUMN ism_mounting_point_schedule.time_end IS 'time expired';
|
||||
|
||||
ALTER TABLE ism_mounting_point_schedule ADD CONSTRAINT FK_ism_mounting_point_schedule_status_id_ism_schedule_status_id FOREIGN KEY (status_id) REFERENCES ism_schedule_status (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_schedule_status_change ADD CONSTRAINT FK_ism_schedule_status_change_schedule_id_ism_mounting_point_sc FOREIGN KEY (schedule_id) REFERENCES ism_mounting_point_schedule (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_schedule_status_change ADD CONSTRAINT FK_ism_schedule_status_change_schedule_status_id_ism_schedule_s FOREIGN KEY (schedule_status_id) REFERENCES ism_schedule_status (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_mounting_point_plan ADD CONSTRAINT FK_ism_mounting_point_plan_mounting_point_state_ism_mounting_po FOREIGN KEY (mounting_point_state) REFERENCES ism_mounting_point_state (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- DROP INDEX IF EXISTS IDX_ism_mounting_point_plan_mounting_point_schedule_id CASCADE;
|
||||
CREATE INDEX IF NOT EXISTS IDX_ism_mounting_point_plan_mounting_point_schedule_id ON ism_mounting_point_plan (mounting_point_schedule_id);
|
||||
|
||||
UPDATE ism_mounting_point_schedule SET status_id = 1 WHERE status_id IS null;
|
||||
|
||||
-- Notify functions for callbacks (signals in db interface) - needed for copySchedule
|
||||
CREATE OR REPLACE FUNCTION public.ism_notifyInsertMainSchedule()
|
||||
RETURNS TRIGGER AS $$
|
||||
DECLARE
|
||||
toNotify RECORD;
|
||||
toReturn RECORD;
|
||||
BEGIN
|
||||
IF (TG_OP = 'INSERT') THEN
|
||||
toNotify = NEW;
|
||||
toReturn = NEW;
|
||||
ELSIF (TG_OP = 'UPDATE') THEN
|
||||
toNotify = OLD;
|
||||
toReturn = NEW;
|
||||
ELSIF (TG_OP = 'DELETE') THEN
|
||||
toNotify = OLD;
|
||||
toReturn = OLD;
|
||||
END IF;
|
||||
|
||||
PERFORM pg_notify('notifyInsertMainSchedule', CAST(toNotify.id AS text));
|
||||
RETURN toReturn;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
|
||||
-- Notify function trigger for callbacks (signals in db interface) - needed for copySchedule
|
||||
DROP TRIGGER IF EXISTS trg_ai_notifyInsertMainSchedule ON ism_mounting_point_schedule;
|
||||
CREATE TRIGGER trg_ai_notifyInsertMainSchedule
|
||||
AFTER INSERT ON ism_mounting_point_schedule FOR EACH ROW EXECUTE PROCEDURE public.ism_notifyInsertMainSchedule();
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add 6 Guez bridges with footprints
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-03
|
||||
-- VERSION: 1.23
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Puma VBA changes
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-26
|
||||
-- VERSION: 1.24
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Disentities for all charge types
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-08-27
|
||||
-- VERSION: 1.25
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add MP type BuildingNetworkSwitch and delete double entries from assets
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-16
|
||||
-- VERSION: 1.26
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
INSERT INTO ism.ism_mounting_point_type (id, name) VALUES (14, 'BuildingNetworkSwitch');
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add values with icons in table asm.egcu_relay_info (NLDEVCTRL-1333)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-16
|
||||
-- VERSION: 1.27
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update values in pdm_gear_type_charge_type (NLDEVCTRL-926)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-17
|
||||
-- VERSION: 1.28
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Update display names for buildings and mounting points (for streams) by removing "bldg_"
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-26
|
||||
-- VERSION: 1.29
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
--# $Id$
|
||||
--# $HeadURL$
|
||||
--# $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Move OutdoorIPS (6) to IndoorIPS (5)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-21
|
||||
-- VERSION: 1.30
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Clean up FLM
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-23
|
||||
-- VERSION: 1.31
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Insert missing folder structure for ex 130 (phase 141)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-24
|
||||
-- VERSION: 1.32
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Add back Nebel Mrt (385) in pdm_gear_type_charge_type and also in exercise charge administration table
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-24
|
||||
-- VERSION: 1.33
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! clean events: remove AVS event with no streamName, remove duplicates. Clean pdm_event_type.
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-09-29
|
||||
-- VERSION: 1.34
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,26 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: add column qualification in old exercises
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-11-10
|
||||
-- VERSION: 1.35
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- PPM
|
||||
ALTER TABLE IF EXISTS rec_dynamic_participant_data ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
UPDATE rec_dynamic_participant_data SET qualification = 1 WHERE qualification IS NULL;
|
||||
-- REP
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_data ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_result ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
UPDATE rep_sanitation_material_data SET qualification = 1 WHERE qualification IS NULL;
|
||||
UPDATE rep_sanitation_material_result SET qualification = 1 WHERE qualification IS NULL;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! update values in PDM building charge effect (SVN 55598)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-11-15
|
||||
-- VERSION: 1.36
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,18 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! New equipment type and 2 types for Patient Simulation
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-11-25
|
||||
-- VERSION: 1.37
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,47 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------------------
|
||||
-- INFO: New columns in AES impact_position_z and source_position x,y,z (BRANCH 3DWS!)
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-12-07
|
||||
-- VERSION: 1.38
|
||||
------------------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS aes_explosion ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_explosion_single ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_x DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_x DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_area_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_area.explosion_id AS explosion_id, aes_explosion_area.impact_width AS impact_width, aes_explosion_area.impact_length AS impact_length, aes_explosion_area.cannon_count AS cannon_count, aes_explosion_area.cannon_rounds AS cannon_rounds, aes_explosion_area.original_effect_start AS original_effect_start, aes_explosion_area.original_effect_duration AS original_effect_duration, aes_explosion_area.remain_explosion_number AS remain_explosion_number, aes_explosion_area.id AS aes_explosion_area_id
|
||||
FROM aes_explosion_area, aes_entity, aes_explosion
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_area.explosion_id;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single.id AS aes_explosion_single_id
|
||||
FROM aes_explosion_single, aes_entity, aes_explosion
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_central_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single_central.explosion_single_id AS explosion_single_id, aes_explosion_single_central.angle AS angle, aes_explosion_single_central.fuse_type_id AS fuse_type_id, aes_explosion_single_central.source_position_x AS source_position_x, aes_explosion_single_central.source_position_y AS source_position_y, aes_explosion_single_central.source_position_z AS source_position_z, aes_explosion_single_central.id AS aes_explosion_single_central_id
|
||||
FROM aes_explosion_single_central, aes_entity, aes_explosion, aes_explosion_single
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id AND
|
||||
aes_explosion_single.id = aes_explosion_single_central.explosion_single_id;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Properties column for Type and Participant
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2021-12-14
|
||||
-- VERSION: 1.39
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PPM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ppm_type ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
ALTER TABLE IF EXISTS ppm_participant ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ppm_participant ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
-- in recorded topic is text
|
||||
ALTER TABLE IF EXISTS rec_participant ADD COLUMN IF NOT EXISTS properties text;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Increase EXM.exercise sequence so it does not overlap existing exercises in Warehouse
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-01-13
|
||||
-- VERSION: 1.40
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: EXM;
|
||||
BEGIN;
|
||||
ALTER SEQUENCE exm.exercise_id_seq RESTART WITH 200;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,77 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add missing CTC workstations
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-02-08
|
||||
-- VERSION: 1.41
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ASM;
|
||||
BEGIN;
|
||||
-- CTC Auditorium
|
||||
INSERT INTO asm.asm_asset(id, name, asset_type_id, location_id) VALUES
|
||||
(165, 'ECAA1WS01', 1, 6);
|
||||
|
||||
-- CTC AAR Workstations
|
||||
INSERT INTO asm.asm_asset(id, name, asset_type_id, location_id) VALUES
|
||||
(166, 'ECAA2WS01', 1, 6),
|
||||
(167, 'ECAA2WS02', 1, 6);
|
||||
|
||||
-- CTC O/C Tablets - LAN
|
||||
INSERT INTO asm.asm_asset(id, name, asset_type_id, location_id) VALUES
|
||||
(201, 'ECCTANB01GB', 1, 6),
|
||||
(202, 'ECCTANB02GB', 1, 6),
|
||||
(203, 'ECCTANB03GB', 1, 6),
|
||||
(204, 'ECCTANB04GB', 1, 6),
|
||||
(205, 'ECCTANB05GB', 1, 6),
|
||||
(206, 'ECCTANB06GB', 1, 6),
|
||||
(207, 'ECCTANB07GB', 1, 6),
|
||||
-- (208, 'ECCTANB08GB', 1, 6), -- already in DB with id 170
|
||||
(209, 'ECCTANB09GB', 1, 6),
|
||||
(210, 'ECCTANB10GB', 1, 6),
|
||||
(211, 'ECCTANB11GB', 1, 6),
|
||||
(212, 'ECCTANB12GB', 1, 6),
|
||||
(213, 'ECCTANB13GB', 1, 6),
|
||||
(214, 'ECCTANB14GB', 1, 6),
|
||||
(215, 'ECCTANB15GB', 1, 6),
|
||||
(216, 'ECCTANB16GB', 1, 6),
|
||||
(217, 'ECCTANB17GB', 1, 6),
|
||||
(218, 'ECCTANB18GB', 1, 6),
|
||||
(219, 'ECCTANB19GB', 1, 6),
|
||||
(220, 'ECCTANB20GB', 1, 6);
|
||||
|
||||
UPDATE asm.asm_asset SET id = 208 where id = 170;
|
||||
|
||||
-- CTC O/C Tablets - WIFI
|
||||
INSERT INTO asm.asm_asset(id, name, asset_type_id, location_id) VALUES
|
||||
(221, 'ECCTANB01', 1, 6),
|
||||
(222, 'ECCTANB02', 1, 6),
|
||||
(223, 'ECCTANB03', 1, 6),
|
||||
(224, 'ECCTANB04', 1, 6),
|
||||
(225, 'ECCTANB05', 1, 6),
|
||||
(226, 'ECCTANB06', 1, 6),
|
||||
(227, 'ECCTANB07', 1, 6),
|
||||
(228, 'ECCTANB08', 1, 6),
|
||||
(229, 'ECCTANB09', 1, 6),
|
||||
(230, 'ECCTANB10', 1, 6),
|
||||
(231, 'ECCTANB11', 1, 6),
|
||||
(232, 'ECCTANB12', 1, 6),
|
||||
(233, 'ECCTANB13', 1, 6),
|
||||
(234, 'ECCTANB14', 1, 6),
|
||||
(235, 'ECCTANB15', 1, 6),
|
||||
(236, 'ECCTANB16', 1, 6),
|
||||
(237, 'ECCTANB17', 1, 6),
|
||||
(238, 'ECCTANB18', 1, 6),
|
||||
(239, 'ECCTANB19', 1, 6),
|
||||
(240, 'ECCTANB20', 1, 6);
|
||||
|
||||
ALTER SEQUENCE asm.asm_asset_id_seq RESTART WITH 300;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,32 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Dis_Entities in Pdm_charge_type
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-02-09
|
||||
-- VERSION: 1.42
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.9.225.2.3.1.0', properties = '{"impactRadius":4}' WHERE id = 44;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.9.225.2.21.1.0', properties = '{"impactRadius":20}' WHERE id = 42;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.9.225.2.21.3.0', properties = '{"impactRadius":20}' WHERE id = 43;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.9.225.2.21.0.0', properties = '{"impactRadius":20}' WHERE id = 45;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.2.225.1.3.5.1', properties = '{"impactRadius":10}' WHERE id = 46;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.2.225.1.3.5.2', properties = '{"impactRadius":10}' WHERE id = 47;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity = '2.1.222.1.30.0.0', properties = '{"impactRadius":10}' WHERE id = 25;
|
||||
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1097, 42);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1097, 43);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1097, 45);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1098, 44);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1099, 46);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id) VALUES ( 1099, 47);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,39 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: add columns (vitality, time_vitality, area_id, area_name) in rep_treament_data and rep_treatment_result
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-02-16
|
||||
-- VERSION: 1.43
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS vitality INTEGER;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS vitality INTEGER;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS time_vitality BIGINT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS time_vitality BIGINT;
|
||||
|
||||
UPDATE rep_treatment_data SET vitality = 100 WHERE vitality IS NULL;
|
||||
UPDATE rep_treatment_result SET vitality = 100 WHERE vitality IS NULL;
|
||||
|
||||
UPDATE rep_treatment_data SET time_vitality = time_vulnerability WHERE time_vitality IS NULL OR (time_vitality = 0 AND time_vulnerability > 0);
|
||||
UPDATE rep_treatment_result SET time_vitality = time_vulnerability WHERE time_vitality IS NULL OR (time_vitality = 0 AND time_vulnerability > 0);
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_id INTEGER;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_id INTEGER;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,108 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add REP event type enum and new treatment timeline tables
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-02-21
|
||||
-- VERSION: 2.01
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
|
||||
DELETE FROM rep_report_type WHERE id = 18;
|
||||
INSERT INTO rep_report_type (id, name) VALUES (18, 'TreatmentTimeline');
|
||||
|
||||
ALTER TABLE IF EXISTS rep_event_type DROP CONSTRAINT IF EXISTS PK_rep_event_type_id CASCADE;
|
||||
DROP TABLE IF EXISTS rep_event_type CASCADE;
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS rep_event_type_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS rep_event_type (
|
||||
id integer DEFAULT nextval(( 'rep_event_type_id_seq'::text)::regclass),
|
||||
name text
|
||||
);
|
||||
ALTER TABLE IF EXISTS rep_event_type ADD CONSTRAINT PK_rep_event_type_id PRIMARY KEY (id);
|
||||
|
||||
DELETE FROM rep_event_type;
|
||||
INSERT INTO rep_event_type (id, name) VALUES (1, 'VBGChanged');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (2, 'VitalityChanged');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (3, 'NineLinerSet');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (4, 'DCUConnected');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (5, 'FirstTreatment');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (6, 'Treatment');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (7, 'TransportInitiated');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (8, 'EnterFunctionalArea');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (9, 'PositionChanged');
|
||||
INSERT INTO rep_event_type (id, name) VALUES (10,'VitalityReset');
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS PK_rep_treatment_timeline_data_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_data_event_type_id_rep_event_type_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_data_party_id_ppm_party_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_data_participant_id_ppm_participant_i CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_data_participant_type_id_ppm_type_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data DROP CONSTRAINT IF EXISTS UQ_rep_treatment_timeline_data_party_id_participant_type_id_par CASCADE;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS PK_rep_treatment_timeline_result_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_result_event_type_id_rep_event_type_i CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_result_report_id_rep_report_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_result_participant_id_ppm_participant CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS FK_rep_treatment_timeline_result_participant_type_id_ppm_type_i CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS IDX_rep_treatment_timeline_result_report_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result DROP CONSTRAINT IF EXISTS UQ_rep_treatment_timeline_result_report_id_participant_id_event CASCADE;
|
||||
|
||||
DROP TABLE IF EXISTS rep_treatment_timeline_data CASCADE;
|
||||
DROP TABLE IF EXISTS rep_treatment_timeline_result CASCADE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS rep_treatment_timeline_data (
|
||||
id bigint DEFAULT nextval(( 'rep_treatment_timeline_data_id_seq'::text)::regclass),
|
||||
party_id integer,
|
||||
participant_type_id integer,
|
||||
participant_id integer,
|
||||
event_type_id integer,
|
||||
event_time bigint,
|
||||
vulnerability integer,
|
||||
vitality integer,
|
||||
properties jsonb
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS rep_treatment_timeline_result (
|
||||
id bigint DEFAULT nextval(( 'rep_treatment_timeline_result_id_seq'::text)::regclass),
|
||||
report_id bigint,
|
||||
participant_type_id integer,
|
||||
participant_id integer,
|
||||
participant_name text,
|
||||
participant_equipment_number integer,
|
||||
event_type_id integer,
|
||||
event_time bigint,
|
||||
vulnerability integer,
|
||||
vitality integer,
|
||||
properties jsonb
|
||||
);
|
||||
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS rep_treatment_timeline_data_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS rep_treatment_timeline_result_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_data ADD CONSTRAINT PK_rep_treatment_timeline_data_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS rep_treatment_timeline_result ADD CONSTRAINT PK_rep_treatment_timeline_result_id PRIMARY KEY (id);
|
||||
|
||||
ALTER TABLE rep_treatment_timeline_data ADD CONSTRAINT FK_rep_treatment_timeline_data_event_type_id_rep_event_type_id FOREIGN KEY (event_type_id) REFERENCES rep_event_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_data ADD CONSTRAINT FK_rep_treatment_timeline_data_party_id_ppm_party_id FOREIGN KEY (party_id) REFERENCES ppm_party (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_data ADD CONSTRAINT FK_rep_treatment_timeline_data_participant_id_ppm_participant_i FOREIGN KEY (participant_id) REFERENCES ppm_participant (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_data ADD CONSTRAINT FK_rep_treatment_timeline_data_participant_type_id_ppm_type_id FOREIGN KEY (participant_type_id) REFERENCES ppm.ppm_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_result ADD CONSTRAINT FK_rep_treatment_timeline_result_event_type_id_rep_event_type_i FOREIGN KEY (event_type_id) REFERENCES rep_event_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_result ADD CONSTRAINT FK_rep_treatment_timeline_result_report_id_rep_report_id FOREIGN KEY (report_id) REFERENCES rep_report (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_result ADD CONSTRAINT FK_rep_treatment_timeline_result_participant_id_ppm_participant FOREIGN KEY (participant_id) REFERENCES ppm_participant (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE rep_treatment_timeline_result ADD CONSTRAINT FK_rep_treatment_timeline_result_participant_type_id_ppm_type_i FOREIGN KEY (participant_type_id) REFERENCES ppm.ppm_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
ALTER TABLE rep_treatment_timeline_data ADD CONSTRAINT UQ_rep_treatment_timeline_data_party_id_participant_type_id_par UNIQUE (party_id, participant_type_id, participant_id, event_time, event_type_id);
|
||||
CREATE INDEX IDX_rep_treatment_timeline_result_report_id ON rep_treatment_timeline_result (report_id);
|
||||
ALTER TABLE rep_treatment_timeline_result ADD CONSTRAINT UQ_rep_treatment_timeline_result_report_id_participant_id_event UNIQUE (report_id, participant_id, event_time, event_type_id);
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,76 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! new tables for NLOS Service in TAB Proxy
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-02-22
|
||||
-- VERSION: 2.02
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_medical_information DROP CONSTRAINT IF EXISTS PK_rec_medical_information_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_medical_information DROP CONSTRAINT IF EXISTS IDX_rec_medical_information_sample_time CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_nlos_fire_result DROP CONSTRAINT IF EXISTS PK_rec_nlos_fire_result_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_nlos_fire_result DROP CONSTRAINT IF EXISTS IDX_rec_nlos_fire_result_sample_time CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_nlos_simulator_direction DROP CONSTRAINT IF EXISTS PK_rec_nlos_simulator_direction_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_nlos_simulator_direction DROP CONSTRAINT IF EXISTS IDX_rec_nlos_simulator_direction_sample_time CASCADE;
|
||||
|
||||
DROP TABLE IF EXISTS rec_medical_information CASCADE;
|
||||
DROP TABLE IF EXISTS rec_nlos_fire_result CASCADE;
|
||||
DROP TABLE IF EXISTS rec_nlos_simulator_direction CASCADE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS rec_medical_information (
|
||||
equipment_number integer,
|
||||
sample_time bigint,
|
||||
vital_signs smallint,
|
||||
body_temperature double precision,
|
||||
blood_oxygen_peripheral_saturation double precision,
|
||||
systolic_blood_pressure double precision,
|
||||
diastolic_blood_pressure double precision,
|
||||
heart_rate double precision,
|
||||
respiratory_rate double precision,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_medical_information_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_medical_information IS 'recorded data for topic MedicalInformation';
|
||||
CREATE TABLE IF NOT EXISTS rec_nlos_fire_result (
|
||||
equipment_number integer,
|
||||
sample_time bigint,
|
||||
target_equipment_number integer,
|
||||
shooting_result integer,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_nlos_fire_result_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_nlos_fire_result IS 'recorded data for topic NlosFireResult';
|
||||
CREATE TABLE IF NOT EXISTS rec_nlos_simulator_direction (
|
||||
equipment_number integer,
|
||||
sample_time bigint,
|
||||
direction double precision,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_nlos_simulator_direction_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_nlos_simulator_direction IS 'recorded data for topic NlosSimulatorDirection';
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_medical_information_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_nlos_fire_result_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_nlos_simulator_direction_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_medical_information ADD CONSTRAINT PK_rec_medical_information_rec_id PRIMARY KEY (rec_id);
|
||||
ALTER TABLE IF EXISTS rec_nlos_fire_result ADD CONSTRAINT PK_rec_nlos_fire_result_rec_id PRIMARY KEY (rec_id);
|
||||
ALTER TABLE IF EXISTS rec_nlos_simulator_direction ADD CONSTRAINT PK_rec_nlos_simulator_direction_rec_id PRIMARY KEY (rec_id);
|
||||
|
||||
CREATE INDEX IDX_rec_medical_information_sample_time ON rec_medical_information (sample_time);
|
||||
CREATE INDEX IDX_rec_nlos_fire_result_sample_time ON rec_nlos_fire_result (sample_time);
|
||||
CREATE INDEX IDX_rec_nlos_simulator_direction_sample_time ON rec_nlos_simulator_direction (sample_time);
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: New properties columns in gear_type and pdm_gear_type_charge_type
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-24
|
||||
-- VERSION: 2.03
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS pdm_gear_type ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
ALTER TABLE IF EXISTS pdm_gear_type_charge_type ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,33 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! New enum MedicalIncident in PDM
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-21
|
||||
-- VERSION: 2.04
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS pdm_medical_incident DROP CONSTRAINT IF EXISTS PK_pdm_medical_incident_id CASCADE;
|
||||
DROP TABLE IF EXISTS pdm_medical_incident CASCADE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pdm_medical_incident (
|
||||
id integer DEFAULT nextval(( 'pdm.pdm_medical_incident_id_seq'::text)::regclass),
|
||||
name text
|
||||
);
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS pdm_medical_incident_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
ALTER TABLE IF EXISTS pdm_medical_incident ADD CONSTRAINT PK_pdm_medical_incident_id PRIMARY KEY (id);
|
||||
|
||||
INSERT INTO pdm_medical_incident (id, name) VALUES (-1, 'None');
|
||||
INSERT INTO pdm_medical_incident (id, name) VALUES (0, 'Intubation');
|
||||
INSERT INTO pdm_medical_incident (id, name) VALUES (1, 'Tourniquet');
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Drop FK on material_id to avoid losing report data
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-23
|
||||
-- VERSION: 2.05
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_data DROP CONSTRAINT IF EXISTS FK_rep_sanitation_material_data_pdm_sanitation_material CASCADE;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_result DROP CONSTRAINT IF EXISTS FK_rep_sanitation_material_result_pdm_sanitation_material CASCADE;
|
||||
COMMIT;
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! new column for marker_description added
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-24
|
||||
-- VERSION: 2.06
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
|
||||
-- mrk_marker_type
|
||||
INSERT INTO mrk_marker_type (id, name) VALUES (8, 'MedicalIncident');
|
||||
|
||||
-- mrk_marker_description
|
||||
ALTER TABLE IF EXISTS mrk_marker_description DROP CONSTRAINT IF EXISTS FK_mrk_marker_description_medical_incident_id_pdm_medical_incid CASCADE;
|
||||
ALTER TABLE mrk_marker_description ADD medical_incident_id integer;
|
||||
|
||||
ALTER TABLE mrk_marker_description ADD CONSTRAINT FK_mrk_marker_description_medical_incident_id_pdm_medical_incid FOREIGN KEY (medical_incident_id) REFERENCES pdm.pdm_medical_incident (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! MedicalData column in rec_dynamic_participant_data
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-25
|
||||
-- VERSION: 2.07
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- PPM
|
||||
ALTER TABLE IF EXISTS rec_dynamic_participant_data ADD COLUMN IF NOT EXISTS medical_data jsonb;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,82 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! Changes from PvSanDyn feature branch
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-03-25
|
||||
-- VERSION: 2.08
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
-- drop PKs
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury DROP CONSTRAINT IF EXISTS PK_pdm_sanitation_injury_id CASCADE;
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_kind DROP CONSTRAINT IF EXISTS PK_pdm_sanitation_injury_kind_id CASCADE;
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_place_1 DROP CONSTRAINT IF EXISTS PK_pdm_sanitation_injury_place_1_id CASCADE;
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_place_2 DROP CONSTRAINT IF EXISTS PK_pdm_sanitation_injury_place_2_id CASCADE;
|
||||
|
||||
-- drop tables
|
||||
DROP TABLE IF EXISTS pdm_sanitation_injury CASCADE;
|
||||
DROP TABLE IF EXISTS pdm_sanitation_injury_kind CASCADE;
|
||||
DROP TABLE IF EXISTS pdm_sanitation_injury_place_1 CASCADE;
|
||||
DROP TABLE IF EXISTS pdm_sanitation_injury_place_2 CASCADE;
|
||||
|
||||
-- create tables
|
||||
CREATE TABLE IF NOT EXISTS pdm_sanitation_injury (
|
||||
id integer,
|
||||
name text,
|
||||
kind integer,
|
||||
place_1 integer,
|
||||
place_2 integer,
|
||||
vbg integer
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pdm_sanitation_injury_kind (
|
||||
id integer,
|
||||
name text,
|
||||
version text
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pdm_sanitation_injury_place_1 (
|
||||
id integer,
|
||||
name text,
|
||||
version text
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS pdm_sanitation_injury_place_2 (
|
||||
id integer,
|
||||
name text,
|
||||
version text
|
||||
);
|
||||
|
||||
-- add PKs
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury ADD CONSTRAINT PK_pdm_sanitation_injury_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_kind ADD CONSTRAINT PK_pdm_sanitation_injury_kind_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_place_1 ADD CONSTRAINT PK_pdm_sanitation_injury_place_1_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_injury_place_2 ADD CONSTRAINT PK_pdm_sanitation_injury_place_2_id PRIMARY KEY (id);
|
||||
|
||||
-- version in sanitation_material
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_material ADD COLUMN IF NOT EXISTS version text;
|
||||
|
||||
-- sanitation procedures
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_procedures DROP CONSTRAINT IF EXISTS PK_pdm_sanitation_procedures_id CASCADE;
|
||||
DROP TABLE IF EXISTS pdm_sanitation_procedures CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS pdm_sanitation_procedures (
|
||||
id integer,
|
||||
name text,
|
||||
type text,
|
||||
type_id integer,
|
||||
minimum_qualification integer,
|
||||
long_name text,
|
||||
data_code bigint,
|
||||
version text
|
||||
);
|
||||
ALTER TABLE IF EXISTS pdm_sanitation_procedures ADD CONSTRAINT PK_pdm_sanitation_procedures_id PRIMARY KEY (id);
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: NOT NECESSARY! New column can_ss_fir_san in whg.ausstg_typen
|
||||
-- PROJECT: Ahtc
|
||||
-- DATE: 2022-04-13
|
||||
-- VERSION: 2.09
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: WHG;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ausstg_typen ADD COLUMN IF NOT EXISTS can_ss_fir_san BOOLEAN DEFAULT false;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update column ex_NN.rec_equipment_state.vulnerability_kind_id = pdm_vulnerability_kind.ta_vulnerability_kind
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-10
|
||||
-- VERSION: 1.01
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
UPDATE rec_equipment_state
|
||||
SET vulnerability_kind_id = (SELECT ta_vulnerability_kind FROM pdm.pdm_vulnerability_kind WHERE rec_equipment_state.vulnerability_kind_id = pdm.pdm_vulnerability_kind.id);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,27 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: drop PK and column id from pdm_vulnerability_kind and add PK on ta_vulnerability_kind
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-10
|
||||
-- VERSION: 1.02
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
-- duplicate 459369 -> 459376
|
||||
UPDATE pdm_vulnerability_kind SET ta_vulnerability_kind = 459376 WHERE player_type_class_id = 3 AND ta_vulnerability_kind = 459369 AND vulnerability_class_id = 5 AND name LIKE 'Sekund%';
|
||||
-- drop old primary key on column id
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP CONSTRAINT IF EXISTS PK_pdm_vulnerability_kind_id CASCADE;
|
||||
-- drop column id
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP COLUMN IF EXISTS id CASCADE;
|
||||
-- create new primary key on ta_vulnerability_kind
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind DROP CONSTRAINT IF EXISTS PK_pdm_vulnerability_kind_ta_vulnerability_kind CASCADE;
|
||||
ALTER TABLE IF EXISTS pdm_vulnerability_kind ADD CONSTRAINT PK_pdm_vulnerability_kind_ta_vulnerability_kind PRIMARY KEY (ta_vulnerability_kind);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: AES updates (enum, explosion single central table, recorded table and view)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-12
|
||||
-- VERSION: 1.03
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
|
||||
-- enum
|
||||
ALTER TABLE IF EXISTS aes_fuse_type DROP CONSTRAINT IF EXISTS PK_aes_fuse_type_id CASCADE;
|
||||
DROP TABLE IF EXISTS aes_fuse_type CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS aes_fuse_type (
|
||||
id integer,
|
||||
name text
|
||||
);
|
||||
COMMENT ON TABLE aes_fuse_type IS 'static data (<b>not</b> project specific) generate from enum';
|
||||
ALTER TABLE IF EXISTS aes_fuse_type ADD CONSTRAINT PK_aes_fuse_type_id PRIMARY KEY (id);
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (0, 'FtProximity');
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (1, 'FtImpact');
|
||||
INSERT INTO aes_fuse_type (id, name) VALUES (2, 'FtDelay');
|
||||
|
||||
-- table aes_explosion_single_central
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS PK_aes_explosion_single_central_id CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS FK_aes_explosion_single_central_explosion_single_id_aes_explosi CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central DROP CONSTRAINT IF EXISTS FK_aes_explosion_single_central_fuse_type_id_aes_fuse_type_id CASCADE;
|
||||
DROP TABLE IF EXISTS aes_explosion_single_central CASCADE;
|
||||
CREATE SEQUENCE IF NOT EXISTS aes_explosion_single_central_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE TABLE IF NOT EXISTS aes_explosion_single_central (
|
||||
id integer DEFAULT nextval(( 'aes_explosion_single_central_id_seq'::text)::regclass),
|
||||
explosion_single_id integer,
|
||||
angle double precision,
|
||||
fuse_type_id integer
|
||||
);
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT PK_aes_explosion_single_central_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT FK_aes_explosion_single_central_explosion_single_id_aes_explosi FOREIGN KEY (explosion_single_id) REFERENCES aes_explosion_single (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD CONSTRAINT FK_aes_explosion_single_central_fuse_type_id_aes_fuse_type_id FOREIGN KEY (fuse_type_id) REFERENCES aes_fuse_type (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- recorded table rec_explosion_single_central
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central DROP CONSTRAINT IF EXISTS PK_rec_explosion_single_central_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central DROP CONSTRAINT IF EXISTS IDX_rec_explosion_single_central_sample_time CASCADE;
|
||||
DROP TABLE IF EXISTS rec_explosion_single_central CASCADE;
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_explosion_single_central_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE TABLE IF NOT EXISTS rec_explosion_single_central (
|
||||
id integer,
|
||||
name text,
|
||||
is_deleted boolean,
|
||||
is_used boolean,
|
||||
sample_time bigint,
|
||||
charge_type_id integer,
|
||||
effect_duration integer,
|
||||
effect_start bigint,
|
||||
effect_state_id integer,
|
||||
party_id integer,
|
||||
participant_id integer,
|
||||
effect_marking_in_ta boolean,
|
||||
external_id bigint,
|
||||
impact_position_lon double precision,
|
||||
impact_position_lat double precision,
|
||||
fire_request_time bigint,
|
||||
altitude integer,
|
||||
purpose text,
|
||||
angle double precision,
|
||||
fuse_type integer,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_explosion_single_central_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_explosion_single_central IS 'recorded data for topic ExplosionSingleCentral';
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD CONSTRAINT PK_rec_explosion_single_central_rec_id PRIMARY KEY (rec_id);
|
||||
CREATE INDEX IDX_rec_explosion_single_central_sample_time ON rec_explosion_single_central (sample_time);
|
||||
|
||||
-- view aes_explosion_single_central_view
|
||||
DROP VIEW IF EXISTS aes_explosion_single_central_view;
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_central_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single_central.explosion_single_id AS explosion_single_id, aes_explosion_single_central.angle AS angle, aes_explosion_single_central.fuse_type_id AS fuse_type_id, aes_explosion_single_central.id AS aes_explosion_single_central_id
|
||||
FROM aes_explosion_single_central, aes_entity, aes_explosion, aes_explosion_single
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id AND
|
||||
aes_explosion_single.id = aes_explosion_single_central.explosion_single_id;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,42 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Added missing operator rights descriptions
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-02-22
|
||||
-- VERSION: 1.04
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: OPM;
|
||||
BEGIN;
|
||||
-- old right without description
|
||||
UPDATE opm.opm_group SET description = 'Edit Charge Visibility' WHERE name = 'ChargeVisibilityEdit';
|
||||
UPDATE opm.opm_group SET description = 'SanNineLiner operator rights' WHERE name = 'SanNineLiner';
|
||||
UPDATE opm.opm_group SET description = 'Edit SanNineLiner' WHERE name = 'SanNineLinerEdit';
|
||||
UPDATE opm.opm_group SET description = 'Show SanNineLiner' WHERE name = 'SanNineLinerShow';
|
||||
UPDATE opm.opm_group SET description = 'View Operational Plannings' WHERE name = 'OperationalPlanningView';
|
||||
UPDATE opm.opm_group SET description = 'Administrator rights' WHERE name = 'Administrator';
|
||||
UPDATE opm.opm_group SET description = 'Shut down workstations' WHERE name = 'ShutdownWorkstations';
|
||||
UPDATE opm.opm_group SET description = 'Database Administration' WHERE name = 'DatabaseAdministration';
|
||||
UPDATE opm.opm_group SET description = 'Change exercise state' WHERE name = 'ExerciseStateEdit';
|
||||
UPDATE opm.opm_group SET description = 'Edit Codification Data' WHERE name = 'CodificationDataEdit';
|
||||
UPDATE opm.opm_group SET description = 'Show Codification Data BLUFOR' WHERE name = 'CodificationDataShowBLUFOR';
|
||||
UPDATE opm.opm_group SET description = 'Show Codification Data OPFOR' WHERE name = 'CodificationDataShowOPFOR';
|
||||
UPDATE opm.opm_group SET description = 'Allow access to the voice communication channels' WHERE name = 'AvVoiceCommunicationAccess';
|
||||
UPDATE opm.opm_group SET description = 'Edit Combat Net Radio Frequency Planning' WHERE name = 'FrequencyPlanningEdit';
|
||||
UPDATE opm.opm_group SET description = 'Show Guez Nasat Configuration' WHERE name = 'GuezNasatConfigurationShow';
|
||||
UPDATE opm.opm_group SET description = 'Edit Guez Nasat Configuration' WHERE name = 'GuezNasatConfigurationEdit';
|
||||
|
||||
-- new operator right for PvSan Reports
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (520159235, 'ReportsEditSan', 'Create and Edit PvSan Reports');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (520093698, 'ReportsEditSan', 'Create and Edit PvSan Reports', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (520093698, 520159235); -- group_id is: 520093698 = 0x1f000002
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (520159232, 520093698); -- Reports
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,56 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM views, grant select on views to all users, export csv commented
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-22
|
||||
-- VERSION: 1.05
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_mpa_barcodes;
|
||||
CREATE OR REPLACE VIEW ism.ism_mpa_barcodes AS
|
||||
SELECT asset_id, a.barcode AS asset_barcode, structure_element_id, se.barcode AS se_barcode, se.main_structure_element_id, mse.name
|
||||
FROM ism.ism_mounting_point_asset mpa, ism.ism_asset a, ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE mpa.asset_id = a.id AND mpa.structure_element_id = se.id AND se.main_structure_element_id = mse.id AND mse.id > 300
|
||||
AND length(a.barcode) > 0 AND length(se.barcode) > 0
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_mpa_barcodes) TO '/opt/postgres/backup/ism_mpa_barcodes.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_se_barcodes;
|
||||
CREATE OR REPLACE VIEW ism.ism_se_barcodes AS
|
||||
SELECT se.id,se.name,se.main_structure_element_id,mse.name as main_name,se.barcode
|
||||
FROM ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE se.main_structure_element_id = mse.id AND length(se.barcode) > 0 AND mse.id > 300
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_se_barcodes WHERE main_structure_element_id > 300) TO '/opt/postgres/backup/ism_se_barcodes.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_view_plans;
|
||||
CREATE OR REPLACE VIEW ism.ism_view_plans AS
|
||||
SELECT mpp.id, mpp.mounting_point_schedule_id, mpp.structure_element_id, se.main_structure_element_id, se.name, mse.name as main_name
|
||||
FROM ism.ism_mounting_point_plan mpp, ism.ism_structure_element se, ism.ism_main_structure_element mse
|
||||
WHERE se.id = mpp.structure_element_id AND se.main_structure_element_id = mse.id AND mse.id > 300
|
||||
ORDER BY mse.id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_view_plans) TO '/opt/postgres/backup/ism_view_plans.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
DROP VIEW IF EXISTS ism.ism_view_buildings;
|
||||
CREATE OR REPLACE VIEW ism.ism_view_buildings AS
|
||||
SELECT se.id AS se_id, se.main_structure_element_id AS bldg_id, mse.model_id, se.display_name, se.barcode AS se_barcode, se.rel_position_x, se.rel_position_y, se.rel_position_z, mpt.name AS mp_type, mpa.asset_id, at.barcode AS asset_barcode
|
||||
FROM ism.ism_mounting_point_type mpt, ism.ism_main_structure_element mse, ism.ism_structure_element se LEFT OUTER JOIN ism.ism_mounting_point_asset mpa ON se.id = mpa.structure_element_id
|
||||
LEFT OUTER JOIN ism.ism_asset at ON mpa.asset_id = at.id
|
||||
WHERE se.mounting_point_type_id = mpt.id AND se.main_structure_element_id = mse.id
|
||||
ORDER BY se.main_structure_element_id, se.id;
|
||||
-- COPY (SELECT * from ism.ism_view_buildings) TO '/opt/postgres/backup/ism_view_buildings.csv' DELIMITER ',' CSV HEADER;
|
||||
|
||||
-- grant select on views to all users
|
||||
GRANT SELECT ON ALL TABLES IN SCHEMA ism TO ets_ro;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,27 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: add column sanitation_unique_id, drop column procedures_needed, change type for procedures_taken as bigint
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-22
|
||||
-- VERSION: 1.06
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_dynamic_participant_data ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_data ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_result ADD COLUMN IF NOT EXISTS sanitation_unique_id bigint;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ADD COLUMN IF NOT EXISTS sanitation_result integer;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation DROP COLUMN IF EXISTS procedures_needed;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ADD COLUMN IF NOT EXISTS procedures_taken bigint;
|
||||
ALTER TABLE IF EXISTS rec_participant_sanitation ALTER COLUMN procedures_taken TYPE bigint;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,302 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update values in PDM building charge effect
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-23
|
||||
-- VERSION: 1.07
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
DELETE FROM pdm.pdm_building_charge_effect;
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (1, 1, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (2, 2, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (3, 3, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (4, 4, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (5, 5, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (6, 6, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (7, 7, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (8, 8, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (9, 9, 10, 10, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (10, 10, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (11, 11, 0, 0, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (12, 12, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (13, 13, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (14, 14, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (15, 15, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (16, 16, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (17, 17, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (18, 18, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (19, 19, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (20, 20, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (21, 21, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (22, 22, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (23, 23, 0, 0, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (24, 24, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (25, 25, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (26, 26, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (27, 27, 10, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (28, 28, 10, 1, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (29, 29, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (30, 30, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (31, 31, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (32, 32, 10, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (33, 33, 1, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (34, 34, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (35, 35, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (36, 36, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (37, 37, 5, 5, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (38, 38, 10, 5, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (39, 39, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (40, 40, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (41, 41, 5, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (42, 42, 10, 0, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (43, 43, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (44, 44, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (45, 45, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (46, 48, 10, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (47, 49, 50, 10, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (48, 50, 10, 5000, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (49, 51, 0, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (50, 52, 5000, 5000, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (51, 53, 10, 5, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (52, 54, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (53, 55, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (54, 56, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (55, 57, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (56, 58, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (57, 59, 1, 1, 6, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (58, 60, 10, 150, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (59, 61, 10, 150, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (60, 62, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (61, 63, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (62, 64, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (63, 65, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (64, 66, 5, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (65, 67, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (66, 68, 10, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (67, 69, 50, 10, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (68, 70, 100, 100, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (69, 71, 300, 300, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (70, 72, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (71, 73, 10, 10, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (72, 74, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (73, 75, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (74, 76, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (75, 77, 5, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (76, 78, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (77, 79, 300, 300, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (78, 371, 100, 150, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (79, 372, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (80, 373, 50, 50, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (81, 374, 0, 0, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (82, 375, 0, 0, 4, true, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (83, 381, 100, 150, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (84, 382, 10, 5, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (85, 385, 0, 0, 4, true, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (86, 471, 10, 5, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (87, 472, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (88, 474, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (89, 476, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (90, 482, 100, 200, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (91, 2001, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (92, 2002, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (93, 2003, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (94, 2004, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (95, 2005, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (96, 2006, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (97, 2007, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (98, 2008, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (99, 2009, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (100, 2010, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (101, 2011, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (102, 2012, 5, 5, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (103, 2013, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (104, 2014, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (105, 2015, 10, 10, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (106, 2016, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (107, 2017, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (108, 2018, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (109, 2019, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (110, 2020, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (111, 2021, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (112, 2022, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (113, 2023, 5, 1, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (114, 2024, 0, 0, 19, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (115, 2025, 5, 0, 19, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (116, 2026, 10, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (117, 2027, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (118, 2028, 10, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (119, 2029, 10, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (120, 2030, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (121, 2031, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (122, 2032, 25, 25, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (123, 2033, 25, 25, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (124, 2034, 5, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (125, 2035, 15, 15, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (126, 2036, 15, 15, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (127, 2037, 10, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (128, 2038, 10, 5, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (129, 2039, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (130, 2040, 10, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (131, 2041, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (132, 2042, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (133, 2043, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (134, 2044, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (135, 2045, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (136, 2046, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (137, 2047, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (138, 2048, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (139, 2049, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (140, 2050, 10, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (141, 2051, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (142, 2052, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (143, 2053, 25, 25, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (144, 2054, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (145, 2055, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (146, 2056, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (147, 2057, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (148, 2058, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (149, 2059, 150, 300, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (150, 2060, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (151, 2061, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (152, 2062, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (153, 2063, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (154, 2064, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (155, 2065, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (156, 2066, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (157, 2067, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (158, 2068, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (159, 2069, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (160, 2070, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (161, 2071, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (162, 2072, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (163, 2073, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (164, 2074, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (165, 2075, 10, 50, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (166, 2076, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (167, 2077, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (168, 2078, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (169, 2079, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (170, 2080, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (171, 2081, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (172, 2082, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (173, 2083, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (174, 2084, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (175, 2085, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (176, 2086, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (177, 2087, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (178, 2088, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (179, 2089, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (180, 2090, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (181, 2091, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (182, 2092, 150, 100, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (183, 2093, 150, 300, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (184, 2094, 150, 300, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (185, 2095, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (186, 2096, 10, 10, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (187, 2097, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (188, 2098, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (189, 2099, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (190, 2100, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (191, 2101, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (192, 2102, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (193, 2103, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (194, 2104, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (195, 2105, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (196, 2106, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (197, 2107, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (198, 2108, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (199, 2109, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (200, 2110, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (201, 2111, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (202, 2112, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (203, 2113, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (204, 2114, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (205, 2115, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (206, 2116, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (207, 2117, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (208, 2118, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (209, 2119, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (210, 2120, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (211, 2121, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (212, 2122, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (213, 2123, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (214, 2124, 100, 200, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (215, 2125, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (216, 2126, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (217, 2127, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (218, 2128, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (219, 2129, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (220, 2130, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (221, 2131, 150, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (222, 2132, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (223, 2133, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (224, 2134, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (225, 2135, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (226, 2136, 300, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (227, 2137, 300, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (228, 2138, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (229, 2139, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (230, 2140, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (231, 2141, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (232, 2142, 10, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (233, 2143, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (234, 2144, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (235, 2145, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (236, 2146, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (237, 2147, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (238, 2148, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (239, 2149, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (240, 2150, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (241, 2151, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (242, 2152, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (243, 2153, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (244, 2154, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (245, 2155, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (246, 2156, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (247, 2157, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (248, 2158, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (249, 2159, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (250, 2160, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (251, 2161, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (252, 2162, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (253, 2163, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (254, 2164, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (255, 2165, 150, 1000, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (256, 2166, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (257, 2167, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (258, 2168, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (259, 2169, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (260, 2170, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (261, 2171, 150, 10, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (262, 2172, 300, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (263, 2173, 5000, 5000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (264, 2174, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (265, 2175, 5, 0, 17, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (266, 2176, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (267, 2177, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (268, 2178, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (269, 2179, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (270, 2180, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (271, 2181, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (272, 2182, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (273, 2183, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (274, 2184, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (275, 2185, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (276, 2186, 5000, 5000, 10, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (277, 2187, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (278, 2188, 10, 10, 17, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (279, 2189, 10, 0, 9, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (280, 2190, 10, 0, 9, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (281, 2191, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (282, 2192, 5, 0, 13, true, true);
|
||||
ALTER SEQUENCE pdm.pdm_building_charge_effect_id_seq RESTART WITH 283;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,114 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: New Sanitation Procedures in PDM, changes in EX rec_sanitation, new sanitation materials
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-05-18
|
||||
-- VERSION: 1.08
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
DELETE FROM pdm_sanitation_procedures;
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (0, 'None');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (1, 'ApplTourniquet');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (2, 'PressureDress');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (3, 'Hemostyptics');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (4, 'ManCompression');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (5, 'Tamponade');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (6, 'JawThrustMan');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (7, 'WendlTube');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (8, 'RecPosition');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (9, 'HeadOfBedEle');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (10, 'GuedelTube');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (11, 'LarynxTube');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (12, 'EmergencyCric');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (13, 'TrachealTube');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (14, 'ChestSeal');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (15, 'OxygenDelivery');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (16, 'ChestTube');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (17, 'AsVentilation');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (18, 'ShockPosition');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (19, 'IVAccess');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (20, 'IOAccess');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (21, 'FluidSubstitut');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (22, 'AssessmAwaren');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (23, 'DeterminCGS');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (24, 'RecovPosition');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (25, 'Positioning');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (26, 'VitSignsCheck');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (27, 'UniversalRail');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (28, 'BleedingControl');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (29, 'RescueBlanket');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (30, 'Blizzard');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (31, 'TreatmBurnings');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (32, 'GenWoundCare');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (33, 'Analgesics');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (34, 'Antibiotics');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (35, 'TranesamicAcid');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (36, 'Hypnotics');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (37, 'RingersSolution');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (38, 'MuscleRelaxant');
|
||||
INSERT INTO pdm_sanitation_procedures (id, name) VALUES (99, 'Unknown');
|
||||
|
||||
-- PDM: New sanitation materials (IO, 2021.05.18)
|
||||
-- do not delete old ida 1-8 because of FK
|
||||
--DELETE FROM pdm.pdm_sanitation_material;
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (1, 'Tourniquet');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (2, 'Notverband');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (3, 'QuikClot-Combatgauze');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (4, 'AMD Verband');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (5, 'Wendl-Tubus');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (6, 'Guedel-Tubus');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (7, 'Larynx-Tubus');
|
||||
--INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (8, 'Not-Koniotomie-Set');
|
||||
|
||||
-- old ids, new names
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Tourniquet' WHERE id = 1;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Notverband' WHERE id = 2;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'QuikClot-Combatgauze' WHERE id = 3;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'AMD Verband' WHERE id = 4;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Wendl-Tubus' WHERE id = 5;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Guedel-Tubus' WHERE id = 6;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Larynx-Tubus' WHERE id = 7;
|
||||
UPDATE pdm.pdm_sanitation_material SET name = 'Not-Koniotomie-Set' WHERE id = 8;
|
||||
|
||||
-- New material ids
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (9, 'Endotracheal-Tubus');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (10, 'Thoraxpflaster');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (11, 'Dekompressionsnadel');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (12, 'Beutelmaske');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (13, 'i. v. Zugang-Set');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (14, 'i. o. Zugang-Set');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (15, 'Voll-Elektrolytlösung');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (16, 'Dreiecktuch');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (17, 'Universalschiene');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (18, 'Rettungsdecke');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (19, 'Blizzard');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (20, 'Brandwundenverbandpäckchen');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (21, 'Allg. Wundversorgung');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (22, 'Morphin-Autoinjektor');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (23, 'Antibiotikum');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (24, 'Tranexamsäure');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (25, 'Hypnotikum');
|
||||
INSERT INTO pdm.pdm_sanitation_material (id, name) VALUES (26, 'Muskelrelaxans');
|
||||
|
||||
--UPDATE pdm.pdm_sanitation_material SET description = name;
|
||||
ALTER SEQUENCE pdm.pdm_sanitation_material_id_seq RESTART WITH 27;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_sanitation DROP COLUMN IF EXISTS data_sanitation_procedures_needed;
|
||||
ALTER TABLE IF EXISTS rec_sanitation ALTER COLUMN data_sanitation_procedures_taken TYPE bigint;
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS sanitation_procedures_taken bigint;
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS sanitation_result integer;
|
||||
ALTER TABLE IF EXISTS rep_treatment_data DROP COLUMN IF EXISTS success_treatment;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS sanitation_procedures_taken bigint;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS sanitation_result integer;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result DROP COLUMN IF EXISTS success_treatment;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS priority_correct boolean;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: new columns originator_building_id and originator_room_id in recorded table rec_hit_line_info (SVN 53507)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-05-27
|
||||
-- VERSION: 1.09
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_hit_line_info ADD COLUMN IF NOT EXISTS originator_building_id INTEGER;
|
||||
ALTER TABLE IF EXISTS rec_hit_line_info ADD COLUMN IF NOT EXISTS originator_room_id INTEGER;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Fixes NLDEVCTRL-925 (RPL Nr 728: MunCode falsch)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-21
|
||||
-- VERSION: 1.10
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
UPDATE pdm.pdm_charge_type SET name='22mm / 23mm AP', short_name='22mm / 23mm AP' WHERE id=2035;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add role ctc_sv (backwords compatibility, used for MBA)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.11
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PUBLIC;
|
||||
BEGIN;
|
||||
-- For Convenience (Backwards Usability)
|
||||
--CREATE USER ctc PASSWORD 'ctc11de' CREATEROLE;
|
||||
CREATE USER ctc_sv PASSWORD 'ctc11de' CREATEROLE;
|
||||
--CREATE USER ctc_ws PASSWORD 'ctc11de' CREATEROLE;
|
||||
GRANT ets_ro TO ctc, ctc_sv;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Added column Name to ISM MPA (SVN 53407)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.12
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
ALTER TABLE ism_mounting_point_asset ADD COLUMN name text;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,40 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add table egcu_relay_info in ASM (SVN 53346)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-22
|
||||
-- VERSION: 1.13
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ASM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS PK_asm_egcu_relay_info_id CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_id CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_name CASCADE;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info DROP CONSTRAINT IF EXISTS UQ_asm_egcu_relay_info_relay_id CASCADE;
|
||||
DROP TABLE IF EXISTS asm_egcu_relay_info CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS asm_egcu_relay_info (
|
||||
id integer DEFAULT nextval(( 'asm.asm_egcu_relay_info_id_seq'::text)::regclass),
|
||||
relay_id integer, -- Index of Relay
|
||||
name text, -- Name of relay
|
||||
description text, -- description of relay
|
||||
properties text -- properties of relay
|
||||
);
|
||||
COMMENT ON TABLE asm_egcu_relay_info IS 'EGCU-Relay-Names';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.relay_id IS 'Index of Relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.name IS 'Name of relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.description IS 'description of relay';
|
||||
COMMENT ON COLUMN asm_egcu_relay_info.properties IS 'properties of relay';
|
||||
CREATE SEQUENCE IF NOT EXISTS asm_egcu_relay_info_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
ALTER TABLE IF EXISTS asm_egcu_relay_info ADD CONSTRAINT PK_asm_egcu_relay_info_id PRIMARY KEY (id);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_id UNIQUE (id);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_name UNIQUE (name);
|
||||
ALTER TABLE asm_egcu_relay_info ADD CONSTRAINT UQ_asm_egcu_relay_info_relay_id UNIQUE (relay_id);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,53 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add table bcu_egcu_relay_infos in Exercise BLD (SVN 53304, 53573)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-23
|
||||
-- VERSION: 1.14
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- Drop tables/views/sequences/constraints
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS PK_bcu_egcu_relay_infos_id CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_id CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_index CASCADE;
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos DROP CONSTRAINT IF EXISTS UQ_bcu_egcu_relay_infos_name CASCADE;
|
||||
DROP TABLE IF EXISTS bcu_egcu_relay_infos CASCADE;
|
||||
|
||||
-- Create tables
|
||||
CREATE TABLE IF NOT EXISTS bcu_egcu_relay_infos (
|
||||
id integer DEFAULT nextval(( 'bcu_egcu_relay_infos_id_seq'::text)::regclass),
|
||||
asset_id bigint, -- 0 = default for all EGCUs >, 0 = assetId for special entries
|
||||
index integer DEFAULT nextval(( 'bcu_egcu_relay_infos_index_seq'::text)::regclass), -- Index of Relay
|
||||
name text, -- Name of relay
|
||||
description text, -- description of relay
|
||||
properties text -- properties of relay
|
||||
);
|
||||
COMMENT ON TABLE bcu_egcu_relay_infos IS 'EGCU-Relay-Names';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.asset_id IS '0 = default for all EGCUs >, 0 = assetId for special entries';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.index IS 'Index of Relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.name IS 'Name of relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.description IS 'description of relay';
|
||||
COMMENT ON COLUMN bcu_egcu_relay_infos.properties IS 'properties of relay';
|
||||
|
||||
-- Create sequence(s)
|
||||
CREATE SEQUENCE IF NOT EXISTS bcu_egcu_relay_infos_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS bcu_egcu_relay_infos_index_seq INCREMENT 1 START 0 MINVALUE 0;
|
||||
|
||||
-- Create primary keys
|
||||
ALTER TABLE IF EXISTS bcu_egcu_relay_infos ADD CONSTRAINT PK_bcu_egcu_relay_infos_id PRIMARY KEY (id);
|
||||
|
||||
-- Indexes
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_id UNIQUE (id);
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_index UNIQUE (index);
|
||||
ALTER TABLE bcu_egcu_relay_infos ADD CONSTRAINT UQ_bcu_egcu_relay_infos_name UNIQUE (name);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add values in table asm.egcu_relay_info (SVN 53405)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-23
|
||||
-- VERSION: 1.15
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ASM;
|
||||
BEGIN;
|
||||
-- EGCU Relay Infos Note: Description and Properties available but unused, Don't insert unused relays!
|
||||
INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name) VALUES (1, 0, 'Lampe');
|
||||
INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name) VALUES (2, 1, 'Heizung');
|
||||
INSERT INTO asm.asm_egcu_relay_info(id, relay_id, name, properties) VALUES (3, 2, 'Nebel', '{"allowPermanentOn":false}');
|
||||
ALTER SEQUENCE asm.asm_egcu_relay_info_id_seq RESTART WITH 4;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+639
@@ -0,0 +1,639 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update values in PDM (SVN 53828) - gear_type_charge_type, building_charge_effect, charge_type Nebel
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-03-25
|
||||
-- VERSION: 1.16
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
-- pdm_gear_type
|
||||
DELETE FROM pdm_gear_type WHERE id = 1301;
|
||||
|
||||
-- pdm_charge_type
|
||||
--UPDATE pdm_charge_type SET name = 'Nebel', short_name = 'Nebel' WHERE id = 375;
|
||||
--DELETE FROM pdm_charge_type WHERE id = 385;
|
||||
|
||||
-- pdm_translation
|
||||
DELETE FROM pdm_translation WHERE translation = 'Aerial Ordnance';
|
||||
|
||||
--DELETE FROM pdm_translation WHERE key = 'Nebel Art';
|
||||
--DELETE FROM pdm_translation WHERE key = 'Nebel Mrs';
|
||||
--INSERT INTO pdm_translation (iso_code, disambiguation, context, key, translation) VALUES ('en_GB', 'name', 'ChargeType', 'Nebel', 'Smoke');
|
||||
--INSERT INTO pdm_translation (iso_code, disambiguation, context, key, translation) VALUES ('en_GB', 'shortName', 'ChargeType', 'Nebel', 'Smoke');
|
||||
|
||||
-- pdm_gear_type_charge_type;
|
||||
DELETE FROM pdm_gear_type_charge_type;
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (101, 311, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (101, 312, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (101, 313, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (101, 314, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (101, 315, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (201, 321, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (401, 341, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (401, 342, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (401, 343, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 211, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 211, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 212, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 212, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 213, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 213, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 214, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 214, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 215, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 215, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (501, 216, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (601, 216, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (701, 371, 29650);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (701, 372, 29650);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (701, 373, 25190);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (701, 374, 26160);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (701, 375, 25190);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (801, 381, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (801, 382, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1101, 411, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1101, 412, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1101, 413, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1201, 421, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 1, 2500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2, 3500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 3, 4500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 4, 3500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 5, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 6, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 7, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 8, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 9, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 10, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 11, 800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 12, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 13, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 14, 3500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 15, 1975);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 16, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 17, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 18, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 19, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 20, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 21, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 22, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 23, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 24, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 25, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 26, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 27, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 28, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 29, 1850);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 30, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 31, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 32, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 33, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 34, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 35, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 36, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 37, 1850);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 38, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 39, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 40, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 41, 1250);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 42, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 43, 1850);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 44, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 45, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 48, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 49, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1033, 50, 50);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1025, 51, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 52, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 53, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1019, 54, 1850);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 55, 4);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1017, 56, 500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 57, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1026, 58, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 59, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1035, 60, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 61, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 62, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 63, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1019, 64, 1850);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 65, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1033, 66, 50);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1021, 67, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 68, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 69, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 70, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1019, 71, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1022, 72, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1021, 73, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1021, 74, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1018, 75, 150);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1020, 76, 50);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 77, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 78, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 79, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 471, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 472, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 473, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 474, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 475, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 476, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 477, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 478, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 479, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 480, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 481, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 482, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 483, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1701, 484, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2001, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2002, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2003, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2004, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2005, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2006, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2007, 800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2008, 800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2009, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2010, 1200);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2011, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2012, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2013, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2014, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2015, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2016, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2017, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2018, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2019, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2020, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2021, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2022, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2023, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2024, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2025, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2026, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2027, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2028, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2029, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2030, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2031, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2032, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2033, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2034, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2035, 1000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2036, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2037, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2038, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2039, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2040, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2041, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2042, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2043, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2044, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2045, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2046, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2047, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2048, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2049, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2050, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2051, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2052, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2053, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2054, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2055, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2056, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2057, 450);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2058, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2059, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2060, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2061, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2062, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2063, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2064, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2065, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2066, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2067, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2068, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2069, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2070, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2071, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2072, 400);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2073, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2074, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2075, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2076, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2077, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2078, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2079, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2080, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2081, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2082, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2083, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2084, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2085, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2086, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2087, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2088, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2089, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2090, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2091, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2092, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2093, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2094, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2095, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2096, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2097, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2098, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2099, 2000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2100, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2101, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2102, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2103, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2104, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2105, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2106, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2107, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2108, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2109, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2110, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2111, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2112, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2113, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2114, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2115, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2116, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2117, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2118, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2119, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2120, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2121, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2122, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2123, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2124, 27000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2125, 8000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2126, 8000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2127, 8000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2128, 8000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2129, 3750);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2130, 3750);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2131, 600);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2132, 3750);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2133, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2134, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2135, 1500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2136, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2137, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2138, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2139, 4300);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2140, 4300);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2141, 1975);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2142, 3000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2143, 2500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2144, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2145, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2146, 800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2147, 800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2148, 600);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2149, 12000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2150, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2151, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2152, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2153, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2154, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2155, 7000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2156, 7000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2157, 7000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2158, 7000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2159, 1800);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2160, 2500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2161, 2500);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2162, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2163, 4000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2164, 8000);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2165, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2166, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2167, 350);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2168, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2169, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2170, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2171, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2172, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2173, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2174, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2175, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2176, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2177, 50);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2178, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2179, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2180, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2181, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2182, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2183, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2184, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2185, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2186, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2187, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2188, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2189, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2190, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2191, NULL);
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (1000, 2192, NULL);
|
||||
-- from update 1.28
|
||||
--UPDATE pdm.pdm_gear_type_charge_type SET max_range=1000 WHERE gear_type_id = 1000 AND charge_type_id = 2035;
|
||||
--UPDATE pdm.pdm_gear_type_charge_type SET max_range=2000 WHERE gear_type_id = 1000 AND charge_type_id = 2036;
|
||||
|
||||
-- pdm_building_charge_effect
|
||||
-- deleting 375, 385 was enough, but let's make sure we have the latest values
|
||||
-- DELETE FROM pdm.pdm_building_charge_effect WHERE charge_type_id IN (375, 385);
|
||||
DELETE FROM pdm.pdm_building_charge_effect;
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (1, 1, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (2, 2, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (3, 3, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (4, 4, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (5, 5, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (6, 6, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (7, 7, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (8, 8, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (9, 9, 10, 10, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (10, 10, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (11, 11, 0, 0, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (12, 12, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (13, 13, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (14, 14, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (15, 15, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (16, 16, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (17, 17, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (18, 18, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (19, 19, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (20, 20, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (21, 21, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (22, 22, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (23, 23, 0, 0, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (24, 24, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (25, 25, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (26, 26, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (27, 27, 10, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (28, 28, 10, 1, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (29, 29, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (30, 30, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (31, 31, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (32, 32, 10, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (33, 33, 1, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (34, 34, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (35, 35, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (36, 36, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (37, 37, 5, 5, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (38, 38, 10, 5, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (39, 39, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (40, 40, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (41, 41, 5, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (42, 42, 10, 0, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (43, 43, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (44, 44, 5, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (45, 45, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (46, 48, 10, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (47, 49, 50, 10, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (48, 50, 10, 5000, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (49, 51, 0, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (50, 52, 5000, 5000, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (51, 53, 10, 5, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (52, 54, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (53, 55, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (54, 56, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (55, 57, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (56, 58, 1, 1, 6, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (57, 59, 1, 1, 6, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (58, 60, 10, 150, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (59, 61, 10, 150, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (60, 62, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (61, 63, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (62, 64, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (63, 65, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (64, 66, 5, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (65, 67, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (66, 68, 10, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (67, 69, 50, 10, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (68, 70, 100, 100, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (69, 71, 300, 300, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (70, 72, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (71, 73, 10, 10, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (72, 74, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (73, 75, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (74, 76, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (75, 77, 5, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (76, 78, 0, 0, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (77, 79, 300, 300, NULL, false, false);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (78, 371, 100, 150, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (79, 372, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (80, 373, 50, 50, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (81, 374, 0, 0, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (83, 381, 100, 150, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (84, 382, 10, 5, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (86, 471, 10, 5, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (87, 472, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (88, 474, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (89, 476, 50, 100, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (90, 482, 100, 200, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (91, 2001, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (92, 2002, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (93, 2003, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (94, 2004, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (95, 2005, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (96, 2006, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (97, 2007, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (98, 2008, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (99, 2009, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (100, 2010, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (101, 2011, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (102, 2012, 5, 5, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (103, 2013, 1, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (104, 2014, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (105, 2015, 10, 10, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (106, 2016, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (107, 2017, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (108, 2018, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (109, 2019, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (110, 2020, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (111, 2021, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (112, 2022, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (113, 2023, 5, 1, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (114, 2024, 0, 0, 19, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (115, 2025, 5, 0, 19, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (116, 2026, 10, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (117, 2027, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (118, 2028, 10, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (119, 2029, 10, 5, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (120, 2030, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (121, 2031, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (122, 2032, 25, 25, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (123, 2033, 25, 25, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (124, 2034, 5, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (125, 2035, 15, 15, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (126, 2036, 15, 15, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (127, 2037, 10, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (128, 2038, 10, 5, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (129, 2039, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (130, 2040, 10, 0, 12, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (131, 2041, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (132, 2042, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (133, 2043, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (134, 2044, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (135, 2045, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (136, 2046, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (137, 2047, 10, 5, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (138, 2048, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (139, 2049, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (140, 2050, 10, 0, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (141, 2051, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (142, 2052, 10, 10, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (143, 2053, 25, 25, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (144, 2054, 10, 5, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (145, 2055, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (146, 2056, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (147, 2057, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (148, 2058, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (149, 2059, 150, 300, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (150, 2060, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (151, 2061, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (152, 2062, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (153, 2063, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (154, 2064, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (155, 2065, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (156, 2066, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (157, 2067, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (158, 2068, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (159, 2069, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (160, 2070, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (161, 2071, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (162, 2072, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (163, 2073, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (164, 2074, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (165, 2075, 10, 50, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (166, 2076, 10, 10, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (167, 2077, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (168, 2078, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (169, 2079, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (170, 2080, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (171, 2081, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (172, 2082, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (173, 2083, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (174, 2084, 10, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (175, 2085, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (176, 2086, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (177, 2087, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (178, 2088, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (179, 2089, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (180, 2090, 150, 150, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (181, 2091, 150, 1000, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (182, 2092, 150, 100, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (183, 2093, 150, 300, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (184, 2094, 150, 300, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (185, 2095, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (186, 2096, 10, 10, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (187, 2097, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (188, 2098, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (189, 2099, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (190, 2100, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (191, 2101, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (192, 2102, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (193, 2103, 150, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (194, 2104, 150, 1000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (195, 2105, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (196, 2106, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (197, 2107, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (198, 2108, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (199, 2109, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (200, 2110, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (201, 2111, 300, 1000, 4, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (202, 2112, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (203, 2113, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (204, 2114, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (205, 2115, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (206, 2116, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (207, 2117, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (208, 2118, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (209, 2119, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (210, 2120, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (211, 2121, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (212, 2122, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (213, 2123, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (214, 2124, 100, 200, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (215, 2125, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (216, 2126, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (217, 2127, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (218, 2128, 300, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (219, 2129, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (220, 2130, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (221, 2131, 150, 1000, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (222, 2132, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (223, 2133, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (224, 2134, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (225, 2135, 150, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (226, 2136, 300, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (227, 2137, 300, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (228, 2138, 10, 10, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (229, 2139, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (230, 2140, 150, 300, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (231, 2141, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (232, 2142, 10, 150, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (233, 2143, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (234, 2144, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (235, 2145, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (236, 2146, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (237, 2147, 10, 50, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (238, 2148, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (239, 2149, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (240, 2150, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (241, 2151, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (242, 2152, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (243, 2153, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (244, 2154, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (245, 2155, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (246, 2156, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (247, 2157, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (248, 2158, 150, 150, 18, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (249, 2159, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (250, 2160, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (251, 2161, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (252, 2162, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (253, 2163, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (254, 2164, 150, 300, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (255, 2165, 150, 1000, 14, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (256, 2166, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (257, 2167, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (258, 2168, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (259, 2169, 0, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (260, 2170, 10, 0, 3, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (261, 2171, 150, 10, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (262, 2172, 300, 300, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (263, 2173, 5000, 5000, 5, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (264, 2174, 150, 150, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (265, 2175, 5, 0, 17, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (266, 2176, 10, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (267, 2177, 1, 0, 11, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (268, 2178, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (269, 2179, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (270, 2180, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (271, 2181, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (272, 2182, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (273, 2183, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (274, 2184, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (275, 2185, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (276, 2186, 5000, 5000, 10, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (277, 2187, 0, 0, NULL, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (278, 2188, 10, 10, 17, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (279, 2189, 10, 0, 9, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (280, 2190, 10, 0, 9, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (281, 2191, 5, 0, 13, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (282, 2192, 5, 0, 13, true, true);
|
||||
ALTER SEQUENCE pdm.pdm_building_charge_effect_id_seq RESTART WITH 283;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: New operator rights EgcuMonitorShow and EgcuRoomsEdit
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-06-29
|
||||
-- VERSION: 1.17
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: OPM;
|
||||
BEGIN;
|
||||
--- Base: 738263040, EgcuMonitorShow - 738263047 = 0x2c010007
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (738263047, 'EgcuMonitorShow', 'Show EgcuMonitor');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (738197509, 'EgcuMonitorShow', 'Show EgcuMonitor', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (738197509, 738263047); -- group_id is: 738197509 = 0x2c000005
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (738263040, 738197509); -- Service Monitors - Participants
|
||||
--- Base: 738263040, EgcuRoomsEdit - 738263048 = 0x2c010008
|
||||
INSERT INTO opm.opm_access_control_level (id, name, description) VALUES (738263048, 'EgcuRoomsEdit', 'Edit the rooms belonging to one segment.');
|
||||
INSERT INTO opm.opm_group (id, name, description, type_id, is_hidden) VALUES (738197510, 'EgcuRoomsEdit', 'Edit the rooms belonging to one segment.', 1, true);
|
||||
INSERT INTO opm.opm_acl_allow (group_id, acl_id) VALUES (738197510, 738263048); -- group_id is: 738197510 = 0x2c000006
|
||||
INSERT INTO opm.opm_group_group (group_id, is_member_of_group_id) VALUES (738263040, 738197510); -- Service Monitors - Participants
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,461 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update dis_entity in PDM and generate codes 2xxx, 4xxx etc.
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-07-26
|
||||
-- VERSION: 1.18
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
-- Direct Fire with alterations such as "Burst of Fire", "Unarmed", etc.
|
||||
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4001, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.5', properties FROM pdm.pdm_charge_type WHERE id = 2001;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4002, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.6', properties FROM pdm.pdm_charge_type WHERE id = 2002;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4003, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.7', properties FROM pdm.pdm_charge_type WHERE id = 2003;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4004, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.8', properties FROM pdm.pdm_charge_type WHERE id = 2004;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4007, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.9', properties FROM pdm.pdm_charge_type WHERE id = 2007;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4008, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.10', properties FROM pdm.pdm_charge_type WHERE id = 2008;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4009, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.11', properties FROM pdm.pdm_charge_type WHERE id = 2009;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4010, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.8.225.2.16.0.12', properties FROM pdm.pdm_charge_type WHERE id = 2010;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4015, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.2.11.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2015;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4016, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.2.11.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2016;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4017, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.2.11.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2017;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4018, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.2.11.0.3', properties FROM pdm.pdm_charge_type WHERE id = 2018;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4019, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.9.0.4', properties FROM pdm.pdm_charge_type WHERE id = 2019;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4020, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.9.0.5', properties FROM pdm.pdm_charge_type WHERE id = 2020;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4021, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.10.0.10', properties FROM pdm.pdm_charge_type WHERE id = 2021;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4034, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.10.0.11', properties FROM pdm.pdm_charge_type WHERE id = 2034;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4035, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.10.0.12', properties FROM pdm.pdm_charge_type WHERE id = 2035;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4036, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.14.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2036;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4037, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.225.2.14.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2037;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4038, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.1.6.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2038;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4040, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.9.222.1.11.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2040;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4041, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.1.10.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2041;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4042, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.1.11.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2042;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4044, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.1.13.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2044;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 4045, name || ' (BoF)', short_name || ' (BoF)', predefined_name, '2.2.222.1.14.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2045;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6022, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.14.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2022;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6024, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.14.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2024;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6025, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.16.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2025;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6026, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.16.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2026;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6027, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.26.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2027;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6030, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.222.1.45.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2030;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6031, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.4.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2031;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6036, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.3.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2036;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6039, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.3.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2039;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6040, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.16.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2040;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6043, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.16.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2043;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6044, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.1.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2044;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6045, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.1.4.0', properties FROM pdm.pdm_charge_type WHERE id = 2045;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6047, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.1.4.1', properties FROM pdm.pdm_charge_type WHERE id = 2047;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6048, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.1.5.0', properties FROM pdm.pdm_charge_type WHERE id = 2048;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6051, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.1.5.1', properties FROM pdm.pdm_charge_type WHERE id = 2051;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6053, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2053;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6055, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.2.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2055;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6057, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.8.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2057;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6060, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.225.1.8.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2060;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6065, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.4.225.1.6.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2065;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6069, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.71.1.3.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2069;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6077, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.71.1.3.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2077;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6081, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.71.1.4.2.0', properties FROM pdm.pdm_charge_type WHERE id = 2081;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6085, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.71.1.4.3.0', properties FROM pdm.pdm_charge_type WHERE id = 2085;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6086, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.224.1.5.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2086;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6091, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.224.1.5.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2091;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6096, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.224.1.5.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2096;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6097, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.2.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2097;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6103, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.2.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2103;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6105, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.71.1.2.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2105;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6107, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.224.1.9.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2107;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6110, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.1.0', properties FROM pdm.pdm_charge_type WHERE id = 2110;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6121, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.1.3', properties FROM pdm.pdm_charge_type WHERE id = 2121;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6170, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.2.0', properties FROM pdm.pdm_charge_type WHERE id = 2170;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6171, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.2.4', properties FROM pdm.pdm_charge_type WHERE id = 2171;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6172, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.2.5', properties FROM pdm.pdm_charge_type WHERE id = 2172;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6173, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2173;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6175, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2175;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6176, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.3.0', properties FROM pdm.pdm_charge_type WHERE id = 2176;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 6191, name || ' (AB)', short_name || ' (AB)', predefined_name, '2.2.205.1.1.3.1', properties FROM pdm.pdm_charge_type WHERE id = 2191;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8056, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.9', properties FROM pdm.pdm_charge_type WHERE id = 2056;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8058, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.10', properties FROM pdm.pdm_charge_type WHERE id = 2058;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8059, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.11', properties FROM pdm.pdm_charge_type WHERE id = 2059;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8066, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.12', properties FROM pdm.pdm_charge_type WHERE id = 2066;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8070, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.13', properties FROM pdm.pdm_charge_type WHERE id = 2070;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8112, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.105.1.3.0.14', properties FROM pdm.pdm_charge_type WHERE id = 2112;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8113, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.197.1.1.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2113;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8114, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2114;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8115, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.1.225.2.3.5.6', properties FROM pdm.pdm_charge_type WHERE id = 2115;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8116, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.7.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2116;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8117, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.11.0.3', properties FROM pdm.pdm_charge_type WHERE id = 2117;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8118, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2118;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8119, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2119;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8120, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2120;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8121, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2121;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8125, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.222.3.8.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2125;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8126, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.85.0.5', properties FROM pdm.pdm_charge_type WHERE id = 2126;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8127, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.85.0.6', properties FROM pdm.pdm_charge_type WHERE id = 2127;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8128, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.85.7.3', properties FROM pdm.pdm_charge_type WHERE id = 2128;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8129, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2129;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8130, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2130;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8131, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2131;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8132, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2132;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8133, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2133;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8134, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2134;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8135, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2135;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8136, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2136;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8137, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2137;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8139, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2139;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8140, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.1.225.1.5.0.0', properties FROM pdm.pdm_charge_type WHERE id = 2140;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8141, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2141;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8142, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2142;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8143, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2143;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8144, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.0.0.0.0.0.1', properties FROM pdm.pdm_charge_type WHERE id = 2144;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8145, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.81.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2145;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8146, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.81.0.3', properties FROM pdm.pdm_charge_type WHERE id = 2146;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8147, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.2.0.6', properties FROM pdm.pdm_charge_type WHERE id = 2147;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8148, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.2.0.7', properties FROM pdm.pdm_charge_type WHERE id = 2148;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8149, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.81.0.4', properties FROM pdm.pdm_charge_type WHERE id = 2149;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8150, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.9.225.2.81.0.5', properties FROM pdm.pdm_charge_type WHERE id = 2150;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8151, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.2.0.8', properties FROM pdm.pdm_charge_type WHERE id = 2151;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8152, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.2.0.9', properties FROM pdm.pdm_charge_type WHERE id = 2152;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8153, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.1.8', properties FROM pdm.pdm_charge_type WHERE id = 2153;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8154, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.1.9', properties FROM pdm.pdm_charge_type WHERE id = 2154;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8156, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.1.10', properties FROM pdm.pdm_charge_type WHERE id = 2156;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8157, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.1.11', properties FROM pdm.pdm_charge_type WHERE id = 2157;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8158, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.3.8', properties FROM pdm.pdm_charge_type WHERE id = 2158;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8159, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.3.9', properties FROM pdm.pdm_charge_type WHERE id = 2159;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8160, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.8.225.2.5.3.10', properties FROM pdm.pdm_charge_type WHERE id = 2160;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8161, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.224.2.1.0.16', properties FROM pdm.pdm_charge_type WHERE id = 2161;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8162, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.224.2.1.0.17', properties FROM pdm.pdm_charge_type WHERE id = 2162;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8163, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.224.2.1.0.18', properties FROM pdm.pdm_charge_type WHERE id = 2163;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 8164, name || ' (UnA)', short_name || ' (UnA)', predefined_name, '2.2.224.2.1.0.19', properties FROM pdm.pdm_charge_type WHERE id = 2164;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12136, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.20', properties FROM pdm.pdm_charge_type WHERE id = 2136;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12137, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.21', properties FROM pdm.pdm_charge_type WHERE id = 2137;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12138, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.22', properties FROM pdm.pdm_charge_type WHERE id = 2138;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12145, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.23', properties FROM pdm.pdm_charge_type WHERE id = 2145;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12160, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.24', properties FROM pdm.pdm_charge_type WHERE id = 2160;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12161, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.2.224.2.1.0.25', properties FROM pdm.pdm_charge_type WHERE id = 2161;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 12163, name || ' (FF)', short_name || ' (FF)', predefined_name, '2.9.225.2.4.10.0', properties FROM pdm.pdm_charge_type WHERE id = 2163;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22010, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.8.225.2.14.0.2', properties FROM pdm.pdm_charge_type WHERE id = 2010;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22017, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.8.225.2.14.0.3', properties FROM pdm.pdm_charge_type WHERE id = 2017;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22059, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.1.225.2.3.5.7', properties FROM pdm.pdm_charge_type WHERE id = 2059;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22097, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.1.225.2.3.5.8', properties FROM pdm.pdm_charge_type WHERE id = 2097;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22129, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.9.225.2.4.23.6', properties FROM pdm.pdm_charge_type WHERE id = 2129;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22184, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.9.225.2.4.23.7', properties FROM pdm.pdm_charge_type WHERE id = 2184;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22185, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.26', properties FROM pdm.pdm_charge_type WHERE id = 2185;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22186, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.27', properties FROM pdm.pdm_charge_type WHERE id = 2186;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 22187, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.28', properties FROM pdm.pdm_charge_type WHERE id = 2187;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23047, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.29', properties FROM pdm.pdm_charge_type WHERE id = 2047;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23058, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.30', properties FROM pdm.pdm_charge_type WHERE id = 2058;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23069, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.31', properties FROM pdm.pdm_charge_type WHERE id = 2069;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23070, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.32', properties FROM pdm.pdm_charge_type WHERE id = 2070;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23072, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.2.224.2.1.0.33', properties FROM pdm.pdm_charge_type WHERE id = 2072;
|
||||
INSERT INTO pdm.pdm_charge_type (id, name, short_name, predefined_name, dis_entity, properties) SELECT 23100, name || ' (STS)', short_name || ' (STS)', predefined_name, '2.9.225.2.84.0.5', properties FROM pdm.pdm_charge_type WHERE id = 2100;
|
||||
|
||||
-- Updates to existing Charge Types (OSAG)
|
||||
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.0' WHERE id=1;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.1' WHERE id=2;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.2' WHERE id=3;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.3' WHERE id=4;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.10.1.0' WHERE id=5;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.9.6.0' WHERE id=6;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.23.1.0' WHERE id=7;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.2.0' WHERE id=8;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.8.0' WHERE id=9;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.0' WHERE id=10;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.5' WHERE id=11;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=12;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.1' WHERE id=13;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.1' WHERE id=14;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.1.0.0' WHERE id=15;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.5.0' WHERE id=16;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.0' WHERE id=17;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.1.2.0' WHERE id=18;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=19;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=20;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.1' WHERE id=21;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.2.8.0' WHERE id=22;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.222.2.2.5.0' WHERE id=23;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.2.0' WHERE id=24;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.21.3.0' WHERE id=25;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.5.0' WHERE id=26;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.2.0' WHERE id=27;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.45.2.23.1.0' WHERE id=28;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.0' WHERE id=29;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.1.0' WHERE id=30;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.0' WHERE id=31;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.1.0' WHERE id=32;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.1.1' WHERE id=33;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.2' WHERE id=34;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.2' WHERE id=35;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.1.0' WHERE id=36;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.2.1.1.0' WHERE id=37;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.3' WHERE id=38;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.2.1' WHERE id=39;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.1' WHERE id=40;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.205.2.1.1.0' WHERE id=41;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.4' WHERE id=42;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.1' WHERE id=43;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.2' WHERE id=44;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.7.0' WHERE id=45;
|
||||
-- 46/47 unused
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=48;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=49;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.0' WHERE id=50;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.0' WHERE id=51;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=52;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.0' WHERE id=53;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.0.0' WHERE id=54;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=55;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.1.0.0' WHERE id=56;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=57;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.0' WHERE id=58;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=59;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.0' WHERE id=60;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.1' WHERE id=61;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=62;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=63;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.0' WHERE id=64;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=65;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.1' WHERE id=66;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=67;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=68;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=69;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=70;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.1' WHERE id=71;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.1' WHERE id=72;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.1' WHERE id=73;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.2' WHERE id=74;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.78.2.4.0.0' WHERE id=75;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.222.2.3.0.0' WHERE id=76;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.4.0.0' WHERE id=77;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.2' WHERE id=78;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.3' WHERE id=79;
|
||||
|
||||
-- Updates to existing Charge Types (ULEIS)
|
||||
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.0' WHERE id=2001;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.1' WHERE id=2002;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.2' WHERE id=2003;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.3' WHERE id=2004;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.1' WHERE id=2005;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.2' WHERE id=2006;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.3' WHERE id=2007;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.4' WHERE id=2008;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.4' WHERE id=2009;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.5' WHERE id=2010;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.3' WHERE id=2011;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.2' WHERE id=2012;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.3' WHERE id=2013;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.4' WHERE id=2014;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.4' WHERE id=2015;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.5' WHERE id=2016;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.6' WHERE id=2017;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.7' WHERE id=2018;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.5' WHERE id=2019;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.6' WHERE id=2020;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.7' WHERE id=2021;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.0' WHERE id=2022;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.1' WHERE id=2023;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.0' WHERE id=2024;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.1' WHERE id=2025;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.2' WHERE id=2026;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.3' WHERE id=2027;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.4' WHERE id=2028;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.5' WHERE id=2029;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.2' WHERE id=2030;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.3' WHERE id=2031;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.4' WHERE id=2032;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.5' WHERE id=2033;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.0' WHERE id=2034;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.1' WHERE id=2035;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.2' WHERE id=2036;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.3' WHERE id=2037;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.4' WHERE id=2038;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.5' WHERE id=2039;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.6' WHERE id=2040;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.7' WHERE id=2041;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.8' WHERE id=2042;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.9' WHERE id=2043;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.10' WHERE id=2044;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.11' WHERE id=2045;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.12' WHERE id=2046;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.13' WHERE id=2047;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.14' WHERE id=2048;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.15' WHERE id=2049;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.0' WHERE id=2050;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.1' WHERE id=2051;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.2' WHERE id=2052;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.3' WHERE id=2053;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.4' WHERE id=2054;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.0' WHERE id=2055;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.1' WHERE id=2056;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.1' WHERE id=2057;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.2' WHERE id=2058;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.3' WHERE id=2059;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.4' WHERE id=2060;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.5' WHERE id=2061;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.6' WHERE id=2062;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.7' WHERE id=2063;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.8' WHERE id=2064;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.0' WHERE id=2065;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.1' WHERE id=2066;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.2' WHERE id=2067;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.3' WHERE id=2068;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.4' WHERE id=2069;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.5' WHERE id=2070;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.0.0' WHERE id=2071;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.0.1' WHERE id=2072;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.0' WHERE id=2073;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.1' WHERE id=2074;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.2' WHERE id=2075;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.0' WHERE id=2076;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.1' WHERE id=2077;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.2' WHERE id=2078;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.3' WHERE id=2079;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.0' WHERE id=2080;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.1' WHERE id=2081;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.2' WHERE id=2082;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.3' WHERE id=2083;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.4' WHERE id=2084;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.5' WHERE id=2085;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.6' WHERE id=2086;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.7' WHERE id=2087;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.8' WHERE id=2088;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.9' WHERE id=2089;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.0' WHERE id=2090;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.1' WHERE id=2091;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.2' WHERE id=2092;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.5' WHERE id=2093;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.6' WHERE id=2094;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.7' WHERE id=2095;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.8' WHERE id=2096;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.9' WHERE id=2097;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.10' WHERE id=2098;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.11' WHERE id=2099;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.12' WHERE id=2100;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.0' WHERE id=2101;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.1' WHERE id=2102;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.2' WHERE id=2103;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.3' WHERE id=2104;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.4' WHERE id=2105;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.5' WHERE id=2106;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.10' WHERE id=2107;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.11' WHERE id=2108;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.12' WHERE id=2109;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.14.0.0' WHERE id=2110;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.14.0.1' WHERE id=2111;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.6.0.0' WHERE id=2112;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.1.11.0.0' WHERE id=2113;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.10.0.0' WHERE id=2114;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.11.0.0' WHERE id=2115;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.13.0.0' WHERE id=2116;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.0' WHERE id=2117;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.1' WHERE id=2118;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.2' WHERE id=2119;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.0' WHERE id=2120;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.1' WHERE id=2121;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.26.0.0' WHERE id=2122;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.45.0.0' WHERE id=2123;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.4.0.0' WHERE id=2124;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.3.0.0' WHERE id=2125;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.3.0.1' WHERE id=2126;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.0' WHERE id=2127;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.1' WHERE id=2128;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.0.0' WHERE id=2129;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.0' WHERE id=2130;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.1' WHERE id=2131;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.0' WHERE id=2132;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.1' WHERE id=2133;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2134;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.2.0.0' WHERE id=2135;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.0' WHERE id=2136;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.1' WHERE id=2137;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.4.225.1.6.0.0' WHERE id=2138;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.3.0.0' WHERE id=2139;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.3.0.1' WHERE id=2140;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.2.0' WHERE id=2141;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.3.0' WHERE id=2142;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.0' WHERE id=2143;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.1' WHERE id=2144;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.2' WHERE id=2145;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.0' WHERE id=2146;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.1' WHERE id=2147;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.2.0.0' WHERE id=2148;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.9.0.0' WHERE id=2149;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.0' WHERE id=2150;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.3' WHERE id=2151;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.0' WHERE id=2152;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.4' WHERE id=2153;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.5' WHERE id=2154;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.0.0' WHERE id=2155;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.0.1' WHERE id=2156;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.0' WHERE id=2157;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.1' WHERE id=2158;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.9' WHERE id=2159;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.10' WHERE id=2160;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.11' WHERE id=2161;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.12' WHERE id=2162;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.13' WHERE id=2163;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.14' WHERE id=2164;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.197.1.1.0.0' WHERE id=2165;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2166;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.6' WHERE id=2167;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.7.0.0' WHERE id=2168;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.3' WHERE id=2169;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2170;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2171;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2172;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2173;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.2' WHERE id=2174;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.5' WHERE id=2175;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.6' WHERE id=2176;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.7.3' WHERE id=2177;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2178;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2179;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2180;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2181;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2182;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2183;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2184;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2185;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2186;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2187;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.1.5.0.0' WHERE id=2188;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2189;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2190;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2191;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2192;
|
||||
|
||||
-- Artillery
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.8.18.0' WHERE id=381;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.71.2.13.0.0' WHERE id=382;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.2.19.1.0' WHERE id=371;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.2.19.10.0' WHERE id=372;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.2.19.0.0' WHERE id=374;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='1.1.45.4.3.0.0' WHERE id=373;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.73.0.0' WHERE id=482;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.74.0.0' WHERE id=483;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.75.0.0' WHERE id=484;
|
||||
|
||||
-- Nuclear / Chemical
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.6.3.3.0' WHERE id=343; -- Warning: DIS Code Used twice "Chemical Persistant" = VX
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.6.3.3.0' WHERE id=342; -- Warning: DIS Code Used twice "Chemical Persistant" = S-Lost
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.6.3.3.1' WHERE id=341;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.6.3.1.0' WHERE id=321; -- Warnung: Used twice Nuclear Persistant
|
||||
-- UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.6.3.1.1' WHERE id=321; -- Warning: Used twice Nuclear Drifting (not implemented on RHM side)
|
||||
|
||||
-- Mines // Not yet complete...
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.3.1.1.0' WHERE id=214;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.3.3.0.0' WHERE id=215;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.3.3.0.0' WHERE id=216;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update PDM Gear Type fr Puma
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-09
|
||||
-- VERSION: 1.19
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
INSERT INTO pdm.pdm_gear_type (id, tas_code, name, gear_class_id) VALUES (1082, 82, 'MK 30', 10);
|
||||
INSERT INTO pdm.pdm_gear_type (id, tas_code, name, gear_class_id) VALUES (1084, 84, 'Koax MG', 10);
|
||||
INSERT INTO pdm.pdm_gear_type (id, tas_code, name, gear_class_id) VALUES (1087, 87, 'MELLS', 10);
|
||||
|
||||
INSERT INTO pdm.pdm_translation (iso_code, disambiguation, context, key, translation) VALUES ('en_GB', 'name', 'GearType', 'MK 30', 'MC 30');
|
||||
INSERT INTO pdm.pdm_translation (iso_code, disambiguation, context, key, translation) VALUES ('en_GB', 'name', 'GearType', 'Koax MG', 'Coax MG');
|
||||
INSERT INTO pdm.pdm_translation (iso_code, disambiguation, context, key, translation) VALUES ('en_GB', 'name', 'GearType', 'MELLS', 'MELLS');
|
||||
|
||||
INSERT INTO pdm.pdm_can_component_string (name, bit_mask, can_device_id, sub_device_id) VALUES ('AGDUS aktiv', 0, 31, -1);
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: new indexes on eem_event table (on sample_time and event_type) to optimize search (SVN 54364)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-12
|
||||
-- VERSION: 1.20
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
CREATE INDEX IDX_eem_event_sample_time ON eem_event (sample_time);
|
||||
CREATE INDEX IDX_eem_event_event_type_id ON eem_event (event_type_id);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,38 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM and EX BLD Bridge modifications
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-17
|
||||
-- VERSION: 1.21
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
INSERT INTO ism_structure_element_type (id, name) VALUES (11, 'Bridge');
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status DROP CONSTRAINT IF EXISTS PK_rec_bridge_status_rec_id CASCADE;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status DROP CONSTRAINT IF EXISTS IDX_rec_bridge_status_sample_time CASCADE;
|
||||
DROP TABLE IF EXISTS rec_bridge_status CASCADE;
|
||||
CREATE TABLE IF NOT EXISTS rec_bridge_status (
|
||||
id integer,
|
||||
name text,
|
||||
is_deleted boolean,
|
||||
is_used boolean,
|
||||
sample_time bigint,
|
||||
building_id integer,
|
||||
status integer,
|
||||
rec_id bigint DEFAULT nextval(( 'rec_bridge_status_rec_id_seq'::text)::regclass),
|
||||
dds_is_alive boolean DEFAULT true,
|
||||
insert_time bigint DEFAULT (extract(epoch from now()) * 1000)
|
||||
);
|
||||
COMMENT ON TABLE rec_bridge_status IS 'recorded data for topic BridgeStatus';
|
||||
CREATE SEQUENCE IF NOT EXISTS rec_bridge_status_rec_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
ALTER TABLE IF EXISTS rec_bridge_status ADD CONSTRAINT PK_rec_bridge_status_rec_id PRIMARY KEY (rec_id);
|
||||
CREATE INDEX IDX_rec_bridge_status_sample_time ON rec_bridge_status (sample_time);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,106 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add ISM changes from Resource Management branch
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-17
|
||||
-- VERSION: 1.22
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ism_mounting_point_plan DROP CONSTRAINT IF EXISTS FK_ism_mounting_point_plan_mounting_point_state_ism_mounting_po CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_mounting_point_schedule DROP CONSTRAINT IF EXISTS FK_ism_mounting_point_schedule_status_id_ism_schedule_status_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status DROP CONSTRAINT IF EXISTS PK_ism_schedule_status_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS PK_ism_schedule_status_change_id CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS FK_ism_schedule_status_change_schedule_id_ism_mounting_point_sc CASCADE;
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change DROP CONSTRAINT IF EXISTS FK_ism_schedule_status_change_schedule_status_id_ism_schedule_s CASCADE;
|
||||
|
||||
DROP TABLE IF EXISTS ism_schedule_status CASCADE;
|
||||
DROP TABLE IF EXISTS ism_schedule_status_change CASCADE;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS ism_schedule_status (
|
||||
id integer DEFAULT nextval(( 'ism.ism_schedule_status_id_seq'::text)::regclass),
|
||||
name text
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS ism_schedule_status_change (
|
||||
id integer DEFAULT nextval(( 'ism.ism_schedule_status_change_id_seq'::text)::regclass),
|
||||
schedule_id integer,
|
||||
schedule_status_id integer,
|
||||
changed_at bigint,
|
||||
operator_id integer,
|
||||
workstation_id integer
|
||||
);
|
||||
COMMENT ON TABLE ism_schedule_status_change IS 'instrumentation plan status changes';
|
||||
|
||||
ALTER TABLE ism_mounting_point_plan ADD COLUMN IF NOT EXISTS mounting_point_state integer DEFAULT 0;
|
||||
COMMENT ON COLUMN ism_mounting_point_plan.mounting_point_state IS '(-1, 0, 1) - (Empty, Idle, Equipped)';
|
||||
|
||||
DELETE FROM ism_mounting_point_state WHERE id = -1;
|
||||
INSERT INTO ism_mounting_point_state (id, name) VALUES (-1, 'Empty');
|
||||
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (0, 'Unknown');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (1, 'Created');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (2, 'Prepared');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (3, 'Activated');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (4, 'Expired');
|
||||
INSERT INTO ism_schedule_status (id, name) VALUES (5, 'Removed');
|
||||
|
||||
CREATE SEQUENCE IF NOT EXISTS ism_schedule_status_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
CREATE SEQUENCE IF NOT EXISTS ism_schedule_status_change_id_seq INCREMENT 1 START 1 MINVALUE 1;
|
||||
|
||||
ALTER TABLE IF EXISTS ism_schedule_status ADD CONSTRAINT PK_ism_schedule_status_id PRIMARY KEY (id);
|
||||
ALTER TABLE IF EXISTS ism_schedule_status_change ADD CONSTRAINT PK_ism_schedule_status_change_id PRIMARY KEY (id);
|
||||
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS status_id INTEGER;
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS time_created bigint DEFAULT (extract(epoch from now()) * 1000);
|
||||
ALTER TABLE ism_mounting_point_schedule ADD COLUMN IF NOT EXISTS time_prepared bigint;
|
||||
|
||||
COMMENT ON COLUMN ism_mounting_point_schedule.time_start IS 'time activated';
|
||||
COMMENT ON COLUMN ism_mounting_point_schedule.time_end IS 'time expired';
|
||||
|
||||
ALTER TABLE ism_mounting_point_schedule ADD CONSTRAINT FK_ism_mounting_point_schedule_status_id_ism_schedule_status_id FOREIGN KEY (status_id) REFERENCES ism_schedule_status (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_schedule_status_change ADD CONSTRAINT FK_ism_schedule_status_change_schedule_id_ism_mounting_point_sc FOREIGN KEY (schedule_id) REFERENCES ism_mounting_point_schedule (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_schedule_status_change ADD CONSTRAINT FK_ism_schedule_status_change_schedule_status_id_ism_schedule_s FOREIGN KEY (schedule_status_id) REFERENCES ism_schedule_status (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
ALTER TABLE ism_mounting_point_plan ADD CONSTRAINT FK_ism_mounting_point_plan_mounting_point_state_ism_mounting_po FOREIGN KEY (mounting_point_state) REFERENCES ism_mounting_point_state (id) ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- DROP INDEX IF EXISTS IDX_ism_mounting_point_plan_mounting_point_schedule_id CASCADE;
|
||||
CREATE INDEX IF NOT EXISTS IDX_ism_mounting_point_plan_mounting_point_schedule_id ON ism_mounting_point_plan (mounting_point_schedule_id);
|
||||
|
||||
UPDATE ism_mounting_point_schedule SET status_id = 1 WHERE status_id IS null;
|
||||
|
||||
-- Notify functions for callbacks (signals in db interface) - needed for copySchedule
|
||||
CREATE OR REPLACE FUNCTION public.ism_notifyInsertMainSchedule()
|
||||
RETURNS TRIGGER AS $$
|
||||
DECLARE
|
||||
toNotify RECORD;
|
||||
toReturn RECORD;
|
||||
BEGIN
|
||||
IF (TG_OP = 'INSERT') THEN
|
||||
toNotify = NEW;
|
||||
toReturn = NEW;
|
||||
ELSIF (TG_OP = 'UPDATE') THEN
|
||||
toNotify = OLD;
|
||||
toReturn = NEW;
|
||||
ELSIF (TG_OP = 'DELETE') THEN
|
||||
toNotify = OLD;
|
||||
toReturn = OLD;
|
||||
END IF;
|
||||
|
||||
PERFORM pg_notify('notifyInsertMainSchedule', CAST(toNotify.id AS text));
|
||||
RETURN toReturn;
|
||||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
|
||||
-- Notify function trigger for callbacks (signals in db interface) - needed for copySchedule
|
||||
DROP TRIGGER IF EXISTS trg_ai_notifyInsertMainSchedule ON ism_mounting_point_schedule;
|
||||
CREATE TRIGGER trg_ai_notifyInsertMainSchedule
|
||||
AFTER INSERT ON ism_mounting_point_schedule FOR EACH ROW EXECUTE PROCEDURE public.ism_notifyInsertMainSchedule();
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,65 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add 6 Guez bridges with footprints
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-03
|
||||
-- VERSION: 1.23
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
-- Main structure elements
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (201, 'Brücke_1', 'Brücke', 0.20244350, 0.91600840, 89, 75, 1000, 0, '{"bridgeStatus": 1}');
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (202, 'Brücke_2', 'Brücke', 0.20249532, 0.91604629, 89, 48, 1000, 0, '{"bridgeStatus": 1}');
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (203, 'Brücke_3', 'Brücke', 0.20254068, 0.91606124, 92, 59, 1000, 0, '{"bridgeStatus": 1}');
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (204, 'Brücke_4', 'Brücke', 0.20259702, 0.91609599, 93, 72, 1000, 0, '{"bridgeStatus": 1}');
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (205, 'Brücke_5', 'Brücke', 0.20261578, 0.91610101, 92, 19, 1000, 0, '{"bridgeStatus": 1}');
|
||||
INSERT INTO ism.ism_main_structure_element (id, name, description, geo_position_x, geo_position_y, geo_position_z, angle, model_id, external_wls_id, properties)
|
||||
VALUES (206, 'Brücke_6', 'Brücke', 0.20263897, 0.91610447, 91, 340, 1000, 0, '{"bridgeStatus": 1}');
|
||||
|
||||
-- Structure elements
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (32, 'BridgeProxy 1', 201, 11, '{32}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 1');
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (34, 'BridgeProxy 2', 202, 11, '{34}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 2');
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (36, 'BridgeProxy 3', 203, 11, '{36}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 3');
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (38, 'BridgeProxy 4', 204, 11, '{38}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 4');
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (40, 'BridgeProxy 5', 205, 11, '{40}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 5');
|
||||
INSERT INTO ism.ism_structure_element (id, name, main_structure_element_id, structure_element_type_id, path, mounting_point_id, barcode, rel_position_x, rel_position_y, rel_position_z, mounting_point_type_id, orientation_x, orientation_y, orientation_z, properties, display_name) VALUES (42, 'BridgeProxy 6', 206, 11, '{42}', 0, '', 0, 0, 0, 0, 0, 0, 0, '{}', 'Brücke 6');
|
||||
|
||||
-- Footprints
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (32, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (32, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (32, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (32, 3, 5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (34, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (34, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (34, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (34, 3, 5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (36, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (36, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (36, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (36, 3, 5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (38, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (38, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (38, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (38, 3, 5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (40, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (40, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (40, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (40, 3, 5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (42, 0, -5, -10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (42, 1, -5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (42, 2, 5, 10, 0);
|
||||
INSERT INTO ism.ism_structure_element_footprint (structure_element_id, index_no, rel_position_x, rel_position_y, rel_position_z) VALUES (42, 3, 5, -10, 0);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,38 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Puma VBA changes
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-26
|
||||
-- VERSION: 1.24
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063233, 4, 'Funk defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063234, 4, 'Funkantenne defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063235, 4, 'Funktion defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063236, 4, 'Aufbau defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063237, 4, 'Ladung zerstört');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063238, 4, 'Personal ausgefallen');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063239, 4, 'Turm beschädigt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063240, 4, 'Ausfall MELLS Anbausatz');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063241, 4, 'Kette defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063242, 4, 'Motor defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063243, 4, 'Kettenantrieb defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063244, 4, 'Periskop defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063245, 4, 'Turmantrieb defekt');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063246, 4, 'Hauptwaffe ausgefallen');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063247, 4, 'Keine Wirkung');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063248, 4, 'Reaktiv GÜZ');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063249, 4, 'Reaktiv SR');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063250, 4, 'Totalausfall');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063251, 4, 'Übungspause');
|
||||
INSERT INTO pdm.pdm_vulnerability_kind (player_type_class_id, ta_vulnerability_kind, vulnerability_class_id, name) VALUES (4, 4063252, 4, 'Übungsunterbrechung');
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,428 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Disentities for all charge types
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-08-27
|
||||
-- VERSION: 1.25
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.0' WHERE id=1;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.1' WHERE id=2;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.2' WHERE id=3;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.3' WHERE id=4;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.10.1.0' WHERE id=5;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.9.6.0' WHERE id=6;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.23.1.0' WHERE id=7;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.2.0' WHERE id=8;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.8.0' WHERE id=9;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.0' WHERE id=10;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.5' WHERE id=11;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=12;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.1' WHERE id=13;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.1' WHERE id=14;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.1.0.0' WHERE id=15;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.5.0' WHERE id=16;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.0' WHERE id=17;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.1.2.0' WHERE id=18;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=19;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=20;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.1' WHERE id=21;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.2.8.0' WHERE id=22;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.222.2.2.5.0' WHERE id=23;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.2.0' WHERE id=24;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.21.3.0' WHERE id=25;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.5.0' WHERE id=26;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.2.0' WHERE id=27;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.45.2.23.1.0' WHERE id=28;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.0' WHERE id=29;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.1.0' WHERE id=30;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.0' WHERE id=31;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.1.0' WHERE id=32;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.206.2.1.1.1' WHERE id=33;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.2' WHERE id=34;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.2' WHERE id=35;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.1.0' WHERE id=36;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.2.1.1.0' WHERE id=37;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.3' WHERE id=38;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.2.1' WHERE id=39;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.1' WHERE id=40;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.205.2.1.1.0' WHERE id=41;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.4' WHERE id=42;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.1' WHERE id=43;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.2.1.2' WHERE id=44;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.7.0' WHERE id=45;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.6' WHERE id=48;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.7' WHERE id=49;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.0' WHERE id=50;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.0' WHERE id=51;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.11' WHERE id=52;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.0' WHERE id=53;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.0.0' WHERE id=54;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=55;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.1.0.0' WHERE id=56;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.1.0.1' WHERE id=57;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.0' WHERE id=58;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.1' WHERE id=59;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.0' WHERE id=60;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.1' WHERE id=61;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='1.1.78.0.0.1' WHERE id=62;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.20' WHERE id=63;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.0' WHERE id=64;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.1' WHERE id=65;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.1' WHERE id=66;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=67;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.8' WHERE id=68;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.9' WHERE id=69;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.10' WHERE id=70;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.1' WHERE id=71;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.1' WHERE id=72;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.1' WHERE id=73;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.2' WHERE id=74;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.78.2.4.0.0' WHERE id=75;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.222.2.3.0.0' WHERE id=76;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.4.0.0' WHERE id=77;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.2' WHERE id=78;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.0.3' WHERE id=79;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.0' WHERE id=2001;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.1' WHERE id=2002;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.2' WHERE id=2003;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.3' WHERE id=2004;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.1' WHERE id=2005;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.2' WHERE id=2006;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.3' WHERE id=2007;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.81.0.4' WHERE id=2008;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.4' WHERE id=2009;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.5' WHERE id=2010;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.3' WHERE id=2011;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.2' WHERE id=2012;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.3' WHERE id=2013;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.4' WHERE id=2014;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.4' WHERE id=2015;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.5' WHERE id=2016;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.6' WHERE id=2017;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.7' WHERE id=2018;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.5' WHERE id=2019;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.6' WHERE id=2020;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.7' WHERE id=2021;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.0' WHERE id=2022;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.1' WHERE id=2023;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.0' WHERE id=2024;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.1' WHERE id=2025;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.2' WHERE id=2026;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.3' WHERE id=2027;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.4' WHERE id=2028;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.5' WHERE id=2029;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.2' WHERE id=2030;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.3' WHERE id=2031;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.4' WHERE id=2032;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.5' WHERE id=2033;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.0' WHERE id=2034;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.1' WHERE id=2035;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.2' WHERE id=2036;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.3' WHERE id=2037;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.4' WHERE id=2038;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.5' WHERE id=2039;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.6' WHERE id=2040;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.7' WHERE id=2041;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.8' WHERE id=2042;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.9' WHERE id=2043;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.10' WHERE id=2044;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.11' WHERE id=2045;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.12' WHERE id=2046;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.13' WHERE id=2047;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.14' WHERE id=2048;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.15' WHERE id=2049;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.0' WHERE id=2050;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.1' WHERE id=2051;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.2' WHERE id=2052;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.3' WHERE id=2053;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.4' WHERE id=2054;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.0' WHERE id=2055;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.1' WHERE id=2056;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.1' WHERE id=2057;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.2' WHERE id=2058;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.3' WHERE id=2059;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.4' WHERE id=2060;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.5' WHERE id=2061;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.6' WHERE id=2062;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.7' WHERE id=2063;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.8' WHERE id=2064;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.0' WHERE id=2065;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.1' WHERE id=2066;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.2' WHERE id=2067;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.3' WHERE id=2068;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.4' WHERE id=2069;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.5' WHERE id=2070;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.0.0' WHERE id=2071;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.0.1' WHERE id=2072;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.0' WHERE id=2073;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.1' WHERE id=2074;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.5.0.2' WHERE id=2075;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.0' WHERE id=2076;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.1' WHERE id=2077;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.2' WHERE id=2078;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.3' WHERE id=2079;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.0' WHERE id=2080;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.1' WHERE id=2081;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.2' WHERE id=2082;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.3' WHERE id=2083;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.4' WHERE id=2084;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.5' WHERE id=2085;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.6' WHERE id=2086;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.7' WHERE id=2087;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.8' WHERE id=2088;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.9' WHERE id=2089;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.0' WHERE id=2090;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.1' WHERE id=2091;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.2' WHERE id=2092;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.5' WHERE id=2093;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.6' WHERE id=2094;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.7' WHERE id=2095;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.8' WHERE id=2096;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.9' WHERE id=2097;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.10' WHERE id=2098;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.11' WHERE id=2099;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.12' WHERE id=2100;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.0' WHERE id=2101;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.1' WHERE id=2102;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.2' WHERE id=2103;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.2.11.0.3' WHERE id=2104;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.4' WHERE id=2105;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.5' WHERE id=2106;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.10' WHERE id=2107;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.11' WHERE id=2108;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.12' WHERE id=2109;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.14.0.0' WHERE id=2110;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.14.0.1' WHERE id=2111;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.6.0.0' WHERE id=2112;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.1.11.0.0' WHERE id=2113;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.10.0.0' WHERE id=2114;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.11.0.0' WHERE id=2115;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.13.0.0' WHERE id=2116;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.0' WHERE id=2117;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.1' WHERE id=2118;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.2' WHERE id=2119;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.0' WHERE id=2120;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.1' WHERE id=2121;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.26.0.0' WHERE id=2122;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.45.0.0' WHERE id=2123;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.4.0.0' WHERE id=2124;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.3.0.0' WHERE id=2125;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.3.0.1' WHERE id=2126;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.0' WHERE id=2127;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.1' WHERE id=2128;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.0.0' WHERE id=2129;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.0' WHERE id=2130;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.1' WHERE id=2131;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.0' WHERE id=2132;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.1' WHERE id=2133;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2134;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.2.0.0' WHERE id=2135;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.0' WHERE id=2136;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.1' WHERE id=2137;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.4.225.1.6.0.0' WHERE id=2138;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.3.0.0' WHERE id=2139;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.3.0.1' WHERE id=2140;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.2.0' WHERE id=2141;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.3.0' WHERE id=2142;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.0' WHERE id=2143;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.1' WHERE id=2144;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.2' WHERE id=2145;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.0' WHERE id=2146;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.1' WHERE id=2147;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.2.0.0' WHERE id=2148;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.9.0.0' WHERE id=2149;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.0' WHERE id=2150;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.3' WHERE id=2151;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.0' WHERE id=2152;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.4' WHERE id=2153;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.5' WHERE id=2154;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.0.0' WHERE id=2155;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.0.1' WHERE id=2156;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.0' WHERE id=2157;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.1' WHERE id=2158;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.9' WHERE id=2159;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.10' WHERE id=2160;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.11' WHERE id=2161;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.12' WHERE id=2162;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.13' WHERE id=2163;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.14' WHERE id=2164;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.197.1.1.0.0' WHERE id=2165;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.0.3.4.0.0' WHERE id=2166;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.6' WHERE id=2167;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.7.0.0' WHERE id=2168;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.3' WHERE id=2169;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.8' WHERE id=2170;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.9' WHERE id=2171;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.10' WHERE id=2172;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.11' WHERE id=2173;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.3.8.0.2' WHERE id=2174;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.5' WHERE id=2175;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.6' WHERE id=2176;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.7.3' WHERE id=2177;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='9.1.225.5.9.0' WHERE id=2178;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='9.1.225.5.7.0' WHERE id=2179;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='9.1.225.5.60.0' WHERE id=2180;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2181;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2182;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2183;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.1.0.1' WHERE id=2184;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.1' WHERE id=2185;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2186;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2187;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.1.5.0.0' WHERE id=2188;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2189;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2190;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2191;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=2192;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.2' WHERE id=4001;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.3' WHERE id=4002;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.6' WHERE id=4003;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.7' WHERE id=4004;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.4' WHERE id=4007;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.81.0.5' WHERE id=4008;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.8' WHERE id=4009;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.9' WHERE id=4010;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.8' WHERE id=4015;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.9' WHERE id=4016;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.10' WHERE id=4017;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.11' WHERE id=4018;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.8' WHERE id=4019;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.9' WHERE id=4020;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.3.10' WHERE id=4021;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.16' WHERE id=4034;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.17' WHERE id=4035;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.18' WHERE id=4036;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.19' WHERE id=4037;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.20' WHERE id=4038;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.21' WHERE id=4040;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.22' WHERE id=4041;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.23' WHERE id=4042;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.24' WHERE id=4044;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.25' WHERE id=4045;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.10.0' WHERE id=6022;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.2' WHERE id=6024;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.14.0.3' WHERE id=6025;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.7' WHERE id=6026;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.2.3.5.8' WHERE id=6027;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.6' WHERE id=6030;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.4.23.7' WHERE id=6031;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.26' WHERE id=6036;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.27' WHERE id=6039;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.28' WHERE id=6040;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.29' WHERE id=6043;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.30' WHERE id=6044;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.31' WHERE id=6045;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.32' WHERE id=6047;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.33' WHERE id=6048;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.5' WHERE id=6051;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.84.0.6' WHERE id=6053;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.7.0.1' WHERE id=6055;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.9' WHERE id=6057;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.10' WHERE id=6060;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.2' WHERE id=6065;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.39.0.3' WHERE id=6069;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.6' WHERE id=6077;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.13' WHERE id=6081;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.14' WHERE id=6085;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.15' WHERE id=6086;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.4' WHERE id=6091;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.16' WHERE id=6096;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.5' WHERE id=6097;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.6' WHERE id=6103;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.9.0.7' WHERE id=6105;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.10.0.17' WHERE id=6107;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.3' WHERE id=6110;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.2' WHERE id=6121;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.8' WHERE id=6170;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.9' WHERE id=6171;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.10' WHERE id=6172;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='5.1.0.5.30.11' WHERE id=6173;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.7' WHERE id=6175;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.85.0.8' WHERE id=6176;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=6191;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.6.0.0' WHERE id=8056;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.11' WHERE id=8058;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.12' WHERE id=8059;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.10.0.0' WHERE id=8066;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.2.11.0.0' WHERE id=8070;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.6.0.0' WHERE id=8112;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.222.1.11.0.1' WHERE id=8113;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.10.0.1' WHERE id=8114;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.11.0.1' WHERE id=8115;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.13.0.1' WHERE id=8116;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.4' WHERE id=8117;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.5' WHERE id=8118;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.14.0.6' WHERE id=8119;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.3' WHERE id=8120;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.222.1.16.0.4' WHERE id=8121;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.4.0.1' WHERE id=8125;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.4.0.2' WHERE id=8126;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.2' WHERE id=8127;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.16.0.3' WHERE id=8128;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.0.1' WHERE id=8129;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.2' WHERE id=8130;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.4.3' WHERE id=8131;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.2' WHERE id=8132;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.5.3' WHERE id=8133;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=8134;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.2.0.1' WHERE id=8135;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.2' WHERE id=8136;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.3' WHERE id=8137;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=8139;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=8140;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.2.1' WHERE id=8141;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.4.3.1' WHERE id=8142;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.3' WHERE id=8143;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.4' WHERE id=8144;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.5' WHERE id=8145;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.2' WHERE id=8146;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.2.0.3' WHERE id=8147;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.71.1.2.0.1' WHERE id=8148;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.9.0.1' WHERE id=8149;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.4' WHERE id=8150;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.1.5' WHERE id=8151;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.6' WHERE id=8152;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.7' WHERE id=8153;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.2.8' WHERE id=8154;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.0.2' WHERE id=8156;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.2' WHERE id=8157;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.1.1.3.3' WHERE id=8158;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.15' WHERE id=8159;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.16' WHERE id=8160;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.17' WHERE id=8161;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.18' WHERE id=8162;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.19' WHERE id=8163;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.20' WHERE id=8164;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.4' WHERE id=12136;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.8.0.5' WHERE id=12137;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.1.225.1.15.0.0' WHERE id=12138;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.1.5.0.6' WHERE id=12145;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.21' WHERE id=12160;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.22' WHERE id=12161;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.105.1.3.0.23' WHERE id=12163;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.2.0.10' WHERE id=22010;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.12' WHERE id=22017;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.13' WHERE id=22059;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.9.225.2.11.0.7' WHERE id=22097;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.225.1.1.0.2' WHERE id=22129;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.1.0.1' WHERE id=22184;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.5.1.1' WHERE id=22185;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=22186;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.0.0.0.0.0.1' WHERE id=22187;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.1.0.34' WHERE id=23047;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.205.2.2.6.14' WHERE id=23058;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.6' WHERE id=23069;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.224.2.7.0.7' WHERE id=23070;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.2.78.2.9.0.2' WHERE id=23072;
|
||||
UPDATE pdm.pdm_charge_type SET dis_entity='2.8.225.2.16.0.13' WHERE id=23100;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,87 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Delete double entries from assets
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-16
|
||||
-- VERSION: 1.26
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
|
||||
-- GSM
|
||||
DELETE FROM ism.ism_asset WHERE id IN (121, 103, 104, 105, 106, 107, 108,109, 110, 111,112, 122, 113, 114, 115, 116, 117, 118, 119, 120);
|
||||
|
||||
-- OUTDOOR CAMERAS
|
||||
DELETE FROM ism.ism_asset WHERE id IN (201, 202, 203);
|
||||
|
||||
-- INDOOR CAMERAS
|
||||
DELETE FROM ism.ism_asset WHERE id IN (2943, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,135, 136, 137, 138);
|
||||
|
||||
-- BUILDING SENSOR MODULE
|
||||
DELETE FROM ism.ism_asset WHERE id IN (1, 3779);
|
||||
|
||||
-- Only if necessary
|
||||
-- DELETE FROM ism.ism_asset WHERE mounting_point_type_id = 2;
|
||||
|
||||
INSERT INTO ism.ism_mounting_point_type (id, name) VALUES (14, 'BuildingNetworkSwitch');
|
||||
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020001_80206045020001_020001', 14, 'GV__80206045020001_80206045020001_020001','UEPOGV-0001', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020002_80206045020002_020002', 14, 'GV__80206045020002_80206045020002_020002','UEPOGV-0002', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020003_80206045020003_020003', 14, 'GV__80206045020003_80206045020003_020003','UEPOGV-0003', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020004_80206045020004_020004', 14, 'GV__80206045020004_80206045020004_020004','UEPOGV-0004', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020005_80206045020005_020005', 14, 'GV__80206045020005_80206045020005_020005','UEPOGV-0005', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045020006_80206045020006_020006', 14, 'GV__80206045020006_80206045020006_020006','UEPOGV-0006', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030007_80206045030007_030007', 14, 'GV__80206045030007_80206045030007_030007','UEPOGV-0007', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030008_80206045030008_030008', 14, 'GV__80206045030008_80206045030008_030008','UEPOGV-0008', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030009_80206045030009_030009', 14, 'GV__80206045030009_80206045030009_030009','UEPOGV-0009', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030010_80206045030010_030010', 14, 'GV__80206045030010_80206045030010_030010','UEPOGV-0010', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030011_80206045030011_030011', 14, 'GV__80206045030011_80206045030011_030011','UEPOGV-0011', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030012_80206045030012_030012', 14, 'GV__80206045030012_80206045030012_030012','UEPOGV-0012', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030013_80206045030013_030013', 14, 'GV__80206045030013_80206045030013_030013','UEPOGV-0013', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030014_80206045030014_030014', 14, 'GV__80206045030014_80206045030014_030014','UEPOGV-0014', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030015_80206045030015_030015', 14, 'GV__80206045030015_80206045030015_030015','UEPOGV-0015', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030016_80206045030016_030016', 14, 'GV__80206045030016_80206045030016_030016','UEPOGV-0016', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030017_80206045030017_030017', 14, 'GV__80206045030017_80206045030017_030017','UEPOGV-0017', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030018_80206045030018_030018', 14, 'GV__80206045030018_80206045030018_030018','UEPOGV-0018', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030019_80206045030019_030019', 14, 'GV__80206045030019_80206045030019_030019','UEPOGV-0019', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030020_80206045030020_030020', 14, 'GV__80206045030020_80206045030020_030020','UEPOGV-0020', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030021_80206045030021_030021', 14, 'GV__80206045030021_80206045030021_030021','UEPOGV-0021', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030022_80206045030022_030022', 14, 'GV__80206045030022_80206045030022_030022','UEPOGV-0022', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030023_80206045030023_030023', 14, 'GV__80206045030023_80206045030023_030023','UEPOGV-0023', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030024_80206045030024_030024', 14, 'GV__80206045030024_80206045030024_030024','UEPOGV-0024', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030025_80206045030025_030025', 14, 'GV__80206045030025_80206045030025_030025','UEPOGV-0025', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030026_80206045030026_030026', 14, 'GV__80206045030026_80206045030026_030026','UEPOGV-0026', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030027_80206045030027_030027', 14, 'GV__80206045030027_80206045030027_030027','UEPOGV-0027', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030028_80206045030028_030028', 14, 'GV__80206045030028_80206045030028_030028','UEPOGV-0028', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030029_80206045030029_030029', 14, 'GV__80206045030029_80206045030029_030029','UEPOGV-0029', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030030_80206045030030_030030', 14, 'GV__80206045030030_80206045030030_030030','UEPOGV-0030', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030031_80206045030031_030031', 14, 'GV__80206045030031_80206045030031_030031','UEPOGV-0031', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030032_80206045030032_030032', 14, 'GV__80206045030032_80206045030032_030032','UEPOGV-0032', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030033_80206045030033_030033', 14, 'GV__80206045030033_80206045030033_030033','UEPOGV-0033', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030034_80206045030034_030034', 14, 'GV__80206045030034_80206045030034_030034','UEPOGV-0034', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030035_80206045030035_030035', 14, 'GV__80206045030035_80206045030035_030035','UEPOGV-0035', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030036_80206045030036_030036', 14, 'GV__80206045030036_80206045030036_030036','UEPOGV-0036', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030037_80206045030037_030037', 14, 'GV__80206045030037_80206045030037_030037','UEPOGV-0037', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030038_80206045030038_030038', 14, 'GV__80206045030038_80206045030038_030038','UEPOGV-0038', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030039_80206045030039_030039', 14, 'GV__80206045030039_80206045030039_030039','UEPOGV-0039', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030040_80206045030040_030040', 14, 'GV__80206045030040_80206045030040_030040','UEPOGV-0040', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030041_80206045030041_030041', 14, 'GV__80206045030041_80206045030041_030041','UEPOGV-0041', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030042_80206045030042_030042', 14, 'GV__80206045030042_80206045030042_030042','UEPOGV-0042', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030043_80206045030043_030043', 14, 'GV__80206045030043_80206045030043_030043','UEPOGV-0043', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030044_80206045030044_030044', 14, 'GV__80206045030044_80206045030044_030044','UEPOGV-0044', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030045_80206045030045_030045', 14, 'GV__80206045030045_80206045030045_030045','UEPOGV-0045', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030046_80206045030046_030046', 14, 'GV__80206045030046_80206045030046_030046','UEPOGV-0046', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030047_80206045030047_030047', 14, 'GV__80206045030047_80206045030047_030047','UEPOGV-0047', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030048_80206045030048_030048', 14, 'GV__80206045030048_80206045030048_030048','UEPOGV-0048', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030049_80206045030049_030049', 14, 'GV__80206045030049_80206045030049_030049','UEPOGV-0049', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030050_80206045030050_030050', 14, 'GV__80206045030050_80206045030050_030050','UEPOGV-0050', 0);
|
||||
INSERT INTO ism.ism_asset (name, mounting_point_type_id, barcode, hostname, asset_state_id) VALUES ('GV__80206045030051_80206045030051_030051', 14, 'GV__80206045030051_80206045030051_030051','UEPOGV-0051', 0);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,24 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add values with icons in table asm.egcu_relay_info (NLDEVCTRL-1333)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-16
|
||||
-- VERSION: 1.27
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ASM;
|
||||
BEGIN;
|
||||
DELETE FROM asm.asm_egcu_relay_info;
|
||||
INSERT INTO asm.asm_egcu_relay_info (id, properties, name, relay_id) VALUES (1, '{"Icons": {"1":"icon:bulb_on.svg", "0":"icon:bulb_off.svg"}}', 'Lampe', 0);
|
||||
INSERT INTO asm.asm_egcu_relay_info (id, properties, name, relay_id) VALUES (2, '{"Icons": {"1":"icon:heater_hot.svg", "0":"icon:heater_cold.svg"}}', 'Heizung', 1);
|
||||
INSERT INTO asm.asm_egcu_relay_info (id, properties, name, relay_id) VALUES (3, '{"Icons": {"1":"icon:cloud_fog_on.svg", "0":"icon:cloud_fog_off.svg"}}', 'Nebel', 2);
|
||||
INSERT INTO asm.asm_egcu_relay_info (id, properties, name, relay_id) VALUES (4, '{"allowPermanentOn":false, "showStatus":false, "Icons": {"1":"icon:audio-volume-high.svg", "0":"icon:audio-volume-muted.svg"}}', 'Sound', 99);
|
||||
ALTER SEQUENCE asm.asm_egcu_relay_info_id_seq RESTART WITH 5;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,20 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update values in pdm_gear_type_charge_type (NLDEVCTRL-926)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-17
|
||||
-- VERSION: 1.28
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
UPDATE pdm.pdm_gear_type_charge_type SET max_range=1000 WHERE gear_type_id = 1000 AND charge_type_id = 2035;
|
||||
UPDATE pdm.pdm_gear_type_charge_type SET max_range=2000 WHERE gear_type_id = 1000 AND charge_type_id = 2036;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Update display names for buildings and mounting points (for streams) by removing "bldg_"
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-26
|
||||
-- VERSION: 1.29
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ISM;
|
||||
BEGIN;
|
||||
UPDATE ism.ism_structure_element SET display_name = REPLACE(display_name,'bldg_','') WHERE structure_element_type_id IN (3,6);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
--# $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;
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Clean up FLM
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-23
|
||||
-- VERSION: 1.31
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: FLM;
|
||||
BEGIN;
|
||||
-- Remove folder 2.Zwischenabnahme
|
||||
UPDATE flm.flm_file_content SET folder_id = 1152, file_category_id = 1 WHERE folder_id = 1443;
|
||||
DELETE FROM flm.flm_folder WHERE id = 1443;
|
||||
-- Remove folders PUMA/TNE
|
||||
UPDATE flm.flm_file_content SET folder_id = 1612 WHERE folder_id = 1625;
|
||||
DELETE FROM flm.flm_folder WHERE id IN (1625, 1624);
|
||||
-- Ausw Fotos -> Hartung
|
||||
UPDATE flm.flm_file_content SET folder_id = 1352 WHERE name = '2021 07 12 Olt Hartung';
|
||||
DELETE FROM flm.flm_folder WHERE id = 1569;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Insert missing folder structure for ex 130 (phase 141)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-24
|
||||
-- VERSION: 1.32
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: FLM;
|
||||
BEGIN;
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1629, '$EX_130', '{2, 1629}', false, 2, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1630, 'Documents' , '{2, 1629, 1630}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1631, 'Instructions' , '{2, 1629, 1631}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1632, 'Incidents' , '{2, 1629, 1632}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1633, 'Snapshots' , '{2, 1629, 1633}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1634, 'Markers' , '{2, 1629, 1634}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1635, 'Reports' , '{2, 1629, 1635}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1636, 'Tactical Plans' , '{2, 1629, 1636}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1637, 'Planning' , '{2, 1629, 1637}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1638, 'Phase Documents', '{2, 1629, 1638}', false, 1629, 99);
|
||||
INSERT INTO flm.flm_folder (id, name, path, is_editable, parent_id, operator_id) VALUES (1639, '$PH_141' , '{2, 1629, 1638, 1639}', false, 1638, 99);
|
||||
ALTER SEQUENCE flm.flm_folder_id_seq RESTART WITH 1640;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Add back Nebel Mrt (385) in pdm_gear_type_charge_type and also in exercise charge administration table
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-24
|
||||
-- VERSION: 1.33
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
INSERT INTO pdm.pdm_gear_type_charge_type (gear_type_id, charge_type_id, max_range) VALUES (801, 385, 25190);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: EX_128,EX_129,EX_130;
|
||||
BEGIN;
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 0, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 1, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 2, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 3, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 4, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 5, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 6, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 7, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 8, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 9, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 10, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 11, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 12, 0, 0, 0, true);
|
||||
INSERT INTO aes_charge_administration (charge_type_id, party_id, amount, planned, used, amount_changed_by_operator) VALUES (385, 13, 0, 0, 0, true);
|
||||
COMMIT;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: clean events: remove AVS event with no streamName, remove duplicates. Clean pdm_event_type.
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-09-29
|
||||
-- VERSION: 1.34
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
UPDATE pdm.pdm_event_type SET name = 'HitEffectSimulation' WHERE id = 13;
|
||||
INSERT INTO pdm.pdm_event_type (id, name) VALUES (29, 'HitGasPipe');
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- remove events with no sample time
|
||||
DELETE FROM eem_event WHERE sample_time <= 0;
|
||||
-- remove AVS events with no stream name
|
||||
DELETE FROM eem_event WHERE event_type_id IN (8,9,10) AND (properties->>'streamName' = '') IS NOT FALSE;
|
||||
-- remove ALL duplicate events (z.B. in ex_130 will be deleted 8823 rows from total 24048)
|
||||
DELETE FROM eem_event WHERE id IN (SELECT id FROM (SELECT id, ROW_NUMBER() OVER (PARTITION BY sample_time, event_type_id, participant_id, party_id, equipment_number, position_x, position_y, position_z, properties ORDER BY id) AS row_num FROM eem_event) t WHERE t.row_num > 1);
|
||||
-- another variant, only for AVS events
|
||||
--DELETE FROM eem_event a USING eem_event b WHERE a.id < b.id AND a.event_type_id IN (8,9,10) AND a.sample_time = b.sample_time AND a.event_type_id = b.event_type_id AND a.properties = b.properties;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,26 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: add column qualification
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-11-10
|
||||
-- VERSION: 1.35
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
-- PPM
|
||||
ALTER TABLE IF EXISTS rec_dynamic_participant_data ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
UPDATE rec_dynamic_participant_data SET qualification = 1 WHERE qualification IS NULL;
|
||||
-- REP
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_data ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
ALTER TABLE IF EXISTS rep_sanitation_material_result ADD COLUMN IF NOT EXISTS qualification integer;
|
||||
UPDATE rep_sanitation_material_data SET qualification = 1 WHERE qualification IS NULL;
|
||||
UPDATE rep_sanitation_material_result SET qualification = 1 WHERE qualification IS NULL;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update values in PDM building charge effect (SVN 55598)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-11-15
|
||||
-- VERSION: 1.36
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
|
||||
DELETE FROM pdm.pdm_building_charge_effect WHERE id IN (33, 43, 62, 103, 115, 267);
|
||||
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (33, 33, 5, 0, 2, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (43, 43, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (62, 64, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (103, 2013, 5, 0, 1, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (115, 2025, 1, 0, 19, true, true);
|
||||
INSERT INTO pdm.pdm_building_charge_effect (id, charge_type_id, destructive_factor, penetration_factor, hit_sound, difcue_light, difcue_pyro) VALUES (267, 2177, 5, 0, 11, true, true);
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,33 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: New equipment type and 2 types for Patient Simulation
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-11-25
|
||||
-- VERSION: 1.37
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PPM;
|
||||
BEGIN;
|
||||
|
||||
DELETE FROM ppm.ppm_equipment_type WHERE id = 1000;
|
||||
INSERT INTO ppm.ppm_equipment_type ( id, name, min_equip_no, max_equip_no, tra_vulnerability_model_id)
|
||||
VALUES ( 1000, 'Patient Simulation', 10000, 11000, 0 );
|
||||
|
||||
-- clean Types (remove 172, 187, 189, 204, 206, 208, 210-221)
|
||||
DELETE FROM ppm.ppm_type WHERE length(name) = 0 OR name = 'Type Gerlinde';
|
||||
|
||||
INSERT INTO ppm.ppm_type (id, type_class_id, equipment_type_id, name, symbol )
|
||||
VALUES (301, 3, 1000, 'Patient Simulation MedicalX', 'AP6D|CMPL|10011500001102020000');
|
||||
INSERT INTO ppm.ppm_type (id, type_class_id, equipment_type_id, name, symbol )
|
||||
VALUES (302, 3, 1000, 'Patient Simulation Laerdal', 'AP6D|CMPL|10011500001102020000');
|
||||
|
||||
ALTER SEQUENCE ppm.ppm_type_id_seq RESTART WITH 303;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,47 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------------------
|
||||
-- INFO: New columns in AES impact_position_z and source_position x,y,z (BRANCH 3DWS!)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-12-07
|
||||
-- VERSION: 1.38
|
||||
------------------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS aes_explosion ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_explosion_single ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_x DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS aes_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS impact_position_z DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_x DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
ALTER TABLE IF EXISTS rec_explosion_single_central ADD COLUMN IF NOT EXISTS source_position_y DOUBLE PRECISION;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_area_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_area.explosion_id AS explosion_id, aes_explosion_area.impact_width AS impact_width, aes_explosion_area.impact_length AS impact_length, aes_explosion_area.cannon_count AS cannon_count, aes_explosion_area.cannon_rounds AS cannon_rounds, aes_explosion_area.original_effect_start AS original_effect_start, aes_explosion_area.original_effect_duration AS original_effect_duration, aes_explosion_area.remain_explosion_number AS remain_explosion_number, aes_explosion_area.id AS aes_explosion_area_id
|
||||
FROM aes_explosion_area, aes_entity, aes_explosion
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_area.explosion_id;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single.id AS aes_explosion_single_id
|
||||
FROM aes_explosion_single, aes_entity, aes_explosion
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id;
|
||||
|
||||
CREATE OR REPLACE VIEW aes_explosion_single_central_view AS SELECT aes_entity.id AS id, aes_entity.charge_type_id AS charge_type_id, aes_entity.effect_state_id AS effect_state_id, aes_entity.party_id AS party_id, aes_entity.participant_id AS participant_id, aes_entity.effect_duration AS effect_duration, aes_entity.effect_start AS effect_start, aes_entity.name AS name, aes_entity.effect_marking_in_ta AS effect_marking_in_ta, aes_entity.external_id AS external_id, aes_explosion.entity_id AS entity_id, aes_explosion.impact_position_x AS impact_position_x, aes_explosion.impact_position_y AS impact_position_y, aes_explosion.rotation_angle AS rotation_angle, aes_explosion.fire_purpose AS fire_purpose, aes_explosion.fire_request_time AS fire_request_time, aes_explosion.altitude AS altitude, aes_explosion.impact_position_z AS impact_position_z, aes_explosion_single.explosion_id AS explosion_id, aes_explosion_single_central.explosion_single_id AS explosion_single_id, aes_explosion_single_central.angle AS angle, aes_explosion_single_central.fuse_type_id AS fuse_type_id, aes_explosion_single_central.source_position_x AS source_position_x, aes_explosion_single_central.source_position_y AS source_position_y, aes_explosion_single_central.source_position_z AS source_position_z, aes_explosion_single_central.id AS aes_explosion_single_central_id
|
||||
FROM aes_explosion_single_central, aes_entity, aes_explosion, aes_explosion_single
|
||||
WHERE aes_entity.id = aes_explosion.entity_id AND
|
||||
aes_explosion.id = aes_explosion_single.explosion_id AND
|
||||
aes_explosion_single.id = aes_explosion_single_central.explosion_single_id;
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,23 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Properties column for Type and Participant
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2021-12-14
|
||||
-- VERSION: 1.39
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PPM;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ppm_type ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
ALTER TABLE IF EXISTS ppm_participant ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS ppm_participant ADD COLUMN IF NOT EXISTS properties jsonb;
|
||||
-- in recorded topic is text
|
||||
ALTER TABLE IF EXISTS rec_participant ADD COLUMN IF NOT EXISTS properties text;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,19 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Set transferred true for exercises already saved on Evaluation DB Server (131, 135, 138)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2022-01-18
|
||||
-- VERSION: 1.40
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: EXM;
|
||||
BEGIN;
|
||||
UPDATE exm.exercise SET transferred = true WHERE id IN (131, 135, 138);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,37 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: clean events: remove AVS event with no streamName, remove duplicates. Add unique key on events.
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2022-01-27
|
||||
-- VERSION: 1.41
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
|
||||
-- remove events with unknown event type
|
||||
DELETE FROM eem_event WHERE event_type_id <= 0;
|
||||
|
||||
-- remove events with no sample time
|
||||
DELETE FROM eem_event WHERE sample_time <= 0;
|
||||
|
||||
-- remove AVS events with no stream name
|
||||
DELETE FROM eem_event WHERE event_type_id IN (8,9,10) AND (properties->>'streamName' = '') IS NOT FALSE;
|
||||
|
||||
-- remove ALL duplicate events (z.B. in ex_130 will be deleted 8823 rows from total 24048)
|
||||
DELETE FROM eem_event WHERE id IN (SELECT id FROM (SELECT id, ROW_NUMBER() OVER (PARTITION BY sample_time, event_type_id, participant_id, party_id, equipment_number, position_x, position_y, position_z, properties ORDER BY id) AS row_num FROM eem_event) t WHERE t.row_num > 1);
|
||||
|
||||
-- another variant, only for AVS events
|
||||
--DELETE FROM eem_event a USING eem_event b WHERE a.id < b.id AND a.event_type_id IN (8,9,10) AND a.sample_time = b.sample_time AND a.event_type_id = b.event_type_id AND a.properties = b.properties;
|
||||
|
||||
-- create unique key on (event_type_id, sample_time, participant_id, party_id, equipment_number, properties)
|
||||
ALTER TABLE eem_event ADD CONSTRAINT UQ_eem_event_event_type_id_sample_time_participant_id_party_id_ UNIQUE (event_type_id, sample_time, participant_id, party_id, equipment_number, properties);
|
||||
|
||||
COMMIT;
|
||||
@@ -0,0 +1,291 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: update values in PDM building charge effect (GUEZE-479)
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2022-02-03
|
||||
-- VERSION: 1.42
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: PDM;
|
||||
BEGIN;
|
||||
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 1;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 3;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 4;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 5;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 6;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 7;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 8;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 9;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 10;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 11;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 12;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 13;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 14;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 15;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 16;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 17;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 18;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 19;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 20;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 21;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 22;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 23;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 24;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 25;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 26;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 27;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 1 WHERE charge_type_id = 28;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 29;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 30;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 31;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 32;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 33;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 34;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 35;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 36;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 37;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 38;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 39;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 40;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 41;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 42;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 43;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 44;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 45;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 46;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 47;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 48;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 49;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 50;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 51;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 200 WHERE charge_type_id = 52;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 53;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 54;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 55;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 1 WHERE charge_type_id = 56;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 1 WHERE charge_type_id = 57;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 1 WHERE charge_type_id = 58;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 59;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 60;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 61;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 62;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 63;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 64;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 65;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 66;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 67;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 68;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 69;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 70;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 71;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 72;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 73;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 74;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 75;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 76;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 77;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 78;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 79;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2001;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2002;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2003;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2004;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2005;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2006;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2007;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2008;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2009;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2010;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2011;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2012;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2013;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2014;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2015;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2016;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2017;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2018;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2019;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2020;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2021;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2022;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 1 WHERE charge_type_id = 2023;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2024;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2025;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2026;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2027;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2028;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2029;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2030;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2031;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2032;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2033;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2034;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2035;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2036;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2037;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2038;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2039;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2040;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2041;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2042;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2043;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2044;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2045;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2046;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2047;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2048;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2049;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2050;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2051;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2052;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2053;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 5 WHERE charge_type_id = 2054;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2055;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2056;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2057;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2058;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2059;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2060;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2061;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2062;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2063;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2064;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2065;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2066;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2067;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2068;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2069;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2070;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2071;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2072;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2073;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2074;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2075;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2076;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2077;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2078;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2079;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2080;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2081;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2082;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2083;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2084;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2085;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2086;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2087;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2088;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2089;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2090;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2091;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2092;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2093;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2094;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2095;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2096;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2097;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2098;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2099;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2100;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2101;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2102;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2103;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2104;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2105;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2106;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2107;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2108;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2109;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2110;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2111;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2112;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2113;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2114;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2115;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2116;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2117;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2118;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2119;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2120;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2121;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2122;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2123;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2124;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2125;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2126;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2127;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2128;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2129;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2130;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2131;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2132;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2133;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2134;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2135;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2136;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2137;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2138;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2139;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2140;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2141;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2142;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2143;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2144;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2145;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2146;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2147;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2148;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2149;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2150;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2151;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2152;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2153;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2154;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2155;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2156;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2157;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2158;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2159;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2160;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2161;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2162;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2163;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2164;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2165;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2166;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2167;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2168;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2169;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2170;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2171;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 100 WHERE charge_type_id = 2172;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 200 WHERE charge_type_id = 2173;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 50 WHERE charge_type_id = 2174;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2175;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2176;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2177;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2178;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2179;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2180;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2181;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2182;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2183;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2184;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2185;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 200 WHERE charge_type_id = 2186;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 0 WHERE charge_type_id = 2187;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2188;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2189;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2190;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2191;
|
||||
UPDATE pdm.pdm_building_charge_effect SET penetration_factor = 10 WHERE charge_type_id = 2192;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
@@ -0,0 +1,39 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: add columns (vitality, time_vitality, area_id, area_name) in rep_treament_data and rep_treatment_result
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2022-02-16
|
||||
-- VERSION: 1.43
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS vitality INTEGER;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS vitality INTEGER;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS time_vitality BIGINT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS time_vitality BIGINT;
|
||||
|
||||
UPDATE rep_treatment_data SET vitality = 100 WHERE vitality IS NULL;
|
||||
UPDATE rep_treatment_result SET vitality = 100 WHERE vitality IS NULL;
|
||||
|
||||
UPDATE rep_treatment_data SET time_vitality = time_vulnerability WHERE time_vitality IS NULL OR (time_vitality = 0 AND time_vulnerability > 0);
|
||||
UPDATE rep_treatment_result SET time_vitality = time_vulnerability WHERE time_vitality IS NULL OR (time_vitality = 0 AND time_vulnerability > 0);
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_id INTEGER;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_id INTEGER;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
|
||||
ALTER TABLE IF EXISTS rep_treatment_data ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
ALTER TABLE IF EXISTS rep_treatment_result ADD COLUMN IF NOT EXISTS area_name TEXT;
|
||||
|
||||
COMMIT;
|
||||
Loaded 100 of 16245 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user