diff cmd/octree2contour/store.go @ 735:83a9f04f1759

Spell table names correctly.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 24 Sep 2018 10:58:34 +0200
parents 39b5cf9a6b8f
children 34ea9d5df653
line wrap: on
line diff
--- a/cmd/octree2contour/store.go	Mon Sep 24 09:56:51 2018 +0200
+++ b/cmd/octree2contour/store.go	Mon Sep 24 10:58:34 2018 +0200
@@ -14,13 +14,13 @@
 
 const (
 	deleteSQL = `
-DELETE FROM waterway.sounding_results_lines
+DELETE FROM waterway.sounding_results_contour_lines
 WHERE sounding_result_id IN (SELECT id
 FROM waterway.sounding_results
 WHERE bottleneck_id = $1 AND date_info = $2)
 `
 	insertSQL = `
-INSERT INTO waterway.sounding_results_lines
+INSERT INTO waterway.sounding_results_contour_lines
 SELECT
   sounding_result_id,
   $1,