Mercurial > gemma
diff pkg/imports/stsh.go @ 4389:5e38667f740c stretches-for-responsibility
Use stretches as areas of responsibility.
This is heavily based on a patch by Tom Gottfried
(read: >90% of the work was done by Tom).
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 12 Sep 2019 18:13:47 +0200 |
parents | 8080007d3c06 |
children | acd0cf98fd44 |
line wrap: on
line diff
--- a/pkg/imports/stsh.go Wed Sep 11 10:32:19 2019 +0200 +++ b/pkg/imports/stsh.go Thu Sep 12 18:13:47 2019 +0200 @@ -56,7 +56,7 @@ const ( stshInsertSQL = ` -INSERT INTO waterway.stretches ( +INSERT INTO users.stretches ( name, stretch, area, @@ -329,7 +329,7 @@ if _, err := trackStmt.ExecContext( ctx, importID, - "waterway.stretches", + "users.stretches", id, ); err != nil { return nil, err