18 lines
962 B
SQL
Executable File
18 lines
962 B
SQL
Executable File
|
|
-- sql-stmts that need to be run if a guez-db is imported in Bremen
|
|
|
|
-- allow to create schemas - : add database name
|
|
--GRANT CREATE ON DATABASE <name> TO ets_admin;
|
|
-- Example: GRANT CREATE ON DATABASE guez_20200611 TO ets_admin;
|
|
|
|
|
|
-- Bremen maps
|
|
INSERT INTO asm.asm_map_description (id, name, description, training_area_id, map_type_id, url, min_scale, max_scale, obj_order, map_description_type_id) VALUES (6, 'Bremen', 'Bremen', 6, 2, 'file:TilePackage/Bremen/Norddeutschland_osm_32632.tpk#-1:125', -1, 125, 1, 1);
|
|
INSERT INTO asm.asm_map_description (id, name, description, training_area_id, map_type_id, url, min_scale, max_scale, obj_order, map_description_type_id) VALUES (7, 'Bremen', 'Bremen Webmerc', 6, 2, 'file:TilePackage/Bremen/Norddeutschland_osm_WebMerc17.tpk#-1:125', -1, 125, 0, 2);
|
|
|
|
-- If TETRA needs to be disabled, run these stmts
|
|
--
|
|
-- UPDATE pdm.pdm_radio_group SET base_group = false;
|
|
-- UPDATE exm.exercise SET radio_group_id = null;
|
|
|