summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-18 11:52:45 +0200
committerJochen Topf <jochen@topf.org>2014-09-18 11:52:45 +0200
commit8cf6d48d8b3a400ac2d1856384a8ea4bf9105cea (patch)
treec5aaa5053fe4083993cc520aa8913cb5bb36345e /sources
parent21c0de6d5d0f67c010160a1cf8c25e4fc1ebec1e (diff)
downloadtaginfo-8cf6d48d8b3a400ac2d1856384a8ea4bf9105cea.tar
taginfo-8cf6d48d8b3a400ac2d1856384a8ea4bf9105cea.tar.gz
Remove temporary hack.
Diffstat (limited to 'sources')
-rw-r--r--sources/master/master.sql11
1 files changed, 0 insertions, 11 deletions
diff --git a/sources/master/master.sql b/sources/master/master.sql
index ebd8202..b271b5c 100644
--- a/sources/master/master.sql
+++ b/sources/master/master.sql
@@ -151,16 +151,5 @@ UPDATE suggestions SET score = count * (1+in_wiki);
-- ============================================================================
--- temporary hack to pull over JOSM data from old JOSM format into new projects format
-
-INSERT INTO projects.projects (id, json_url, status, name, description) VALUES ('josm', '', 'OK', 'JOSM Editor', 'JOSM offline OSM Editor');
-
-INSERT INTO projects.project_tags (project_id, key, value, on_node, on_way, on_relation, on_area, icon_url) SELECT 'josm', k, v, 1, 0, 0, 0, '/api/4/josm/style/image?style=standard&image=' || icon_source FROM josm.josm_style_rules WHERE icon_source IS NOT NULL;
--- INSERT INTO projects.project_tags (project_id, key, value, on_node, on_way, on_relation, on_area, icon_url) SELECT 'josm', k, v, 0, 1, 0, 0, 'https://chart.googleapis.com/chart?cht=bhs&chs=16x16&chf=bg,s,' || substr(line_color, 1+instr(line_color, '#')) FROM josm.josm_style_rules WHERE line_color IS NOT NULL;
--- INSERT INTO projects.project_tags (project_id, key, value, on_node, on_way, on_relation, on_area, icon_url) SELECT 'josm', k, v, 0, 0, 0, 1, 'https://chart.googleapis.com/chart?cht=bhs&chs=16x16&chf=bg,s,' || substr(area_color, 1+instr(area_color, '#')) FROM josm.josm_style_rules WHERE area_color IS NOT NULL;
-
-
--- ============================================================================
-
ANALYZE;