From 18558674c0b28fa679a89bad7efd68ca3ed0f094 Mon Sep 17 00:00:00 2001 From: Trowbridge Date: Fri, 14 Feb 2020 14:41:51 -0500 Subject: [PATCH] change key name to message --- route_sql/new_basket.sql | 2 +- route_sql/scale_pd.sql | 2 +- route_sql/scale_vd.sql | 2 +- route_sql/scale_vupd.sql | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/route_sql/new_basket.sql b/route_sql/new_basket.sql index 7c748e3..a544a1c 100644 --- a/route_sql/new_basket.sql +++ b/route_sql/new_basket.sql @@ -332,7 +332,7 @@ SELECT ,'replace_version' "version" ,'replace_source'||' volume' iter ,log.id - ,log.doc->>'comment' "comment" + ,log.doc->>'message' "comment" ,log.doc->>'type' module FROM basemix b diff --git a/route_sql/scale_pd.sql b/route_sql/scale_pd.sql index b119180..8144bee 100644 --- a/route_sql/scale_pd.sql +++ b/route_sql/scale_pd.sql @@ -167,7 +167,7 @@ target AS (select target_increment incr) ,'replace_version' "version" ,'replace_source'||' price' iter ,log.id - ,log.doc->>'comment' "comment" + ,log.doc->>'message' "comment" ,log.doc->>'type' module FROM basemix b diff --git a/route_sql/scale_vd.sql b/route_sql/scale_vd.sql index a285bdb..0710745 100644 --- a/route_sql/scale_vd.sql +++ b/route_sql/scale_vd.sql @@ -196,7 +196,7 @@ target AS (select incr_qty qincr) ,'replace_version' "version" ,'replace_source'||' volume' iter ,log.id - ,log.doc->>'comment' "comment" + ,log.doc->>'message' "comment" ,log.doc->>'type' module FROM basemix b diff --git a/route_sql/scale_vupd.sql b/route_sql/scale_vupd.sql index e7330fe..b2a0e6f 100644 --- a/route_sql/scale_vupd.sql +++ b/route_sql/scale_vupd.sql @@ -195,7 +195,7 @@ target AS (select target_vol vincr, target_prc pincr) ,'replace_version' "version" ,'replace_source'||' volume' iter ,log.id - ,log.doc->>'comment' "comment" + ,log.doc->>'message' "comment" ,log.doc->>'type' module FROM basemix b @@ -274,7 +274,7 @@ FROM ,'replace_version' "version" ,'replace_source'||' price' iter ,log.id - ,log.doc->>'comment' "comment" + ,log.doc->>'message' "comment" ,log.doc->>'type' module FROM volume b