Mercurial > gemma
diff schema/updates/1404/01.add_grouped_fm_layers.sql @ 4945:97533bbfaa2d fairway-marks-import
Add missing fairway mark types to layer group
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 18 Feb 2020 13:00:25 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/updates/1404/01.add_grouped_fm_layers.sql Tue Feb 18 13:00:25 2020 +0100 @@ -0,0 +1,19 @@ +INSERT INTO sys_admin.published_services ( + schema, name, srid, key_column, view_def +) VALUES + ('waterway', 'fairway_marks_boysaw', NULL, NULL, NULL), + ('waterway', 'fairway_marks_boyspp', NULL, NULL, NULL), + ('waterway', 'fairway_marks_daymar', NULL, NULL, NULL), + ('waterway', 'fairway_marks_lights', NULL, NULL, NULL), + ('waterway', 'fairway_marks_rtpbcn', NULL, NULL, NULL), + ('waterway', 'fairway_marks_topmar', NULL, NULL, NULL), + ('waterway', 'fairway_marks_notmrk', NULL, NULL, NULL); + +INSERT INTO sys_admin.grouped_layers VALUES + ('fairway_marks', 'waterway', 'fairway_marks_boysaw', 3), + ('fairway_marks', 'waterway', 'fairway_marks_boyspp', 4), + ('fairway_marks', 'waterway', 'fairway_marks_daymar', 5), + ('fairway_marks', 'waterway', 'fairway_marks_lights', 6), + ('fairway_marks', 'waterway', 'fairway_marks_rtpbcn', 7), + ('fairway_marks', 'waterway', 'fairway_marks_topmar', 8), + ('fairway_marks', 'waterway', 'fairway_marks_notmrk', 9);