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