From eca0da084e604bcba676f237aae4bea11a44cc25 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 27 Nov 2023 11:40:01 -0500 Subject: [PATCH] vault backup: 2023-11-27 11:40:01 --- sql/livequotes.pg.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/livequotes.pg.sql b/sql/livequotes.pg.sql index 554d9bb..06b06eb 100644 --- a/sql/livequotes.pg.sql +++ b/sql/livequotes.pg.sql @@ -12,7 +12,7 @@ lq AS MATERIALIZED ( SELECT lq.* ,pricing->'product'->>'mold' part_group - ,pricing->'customer'->>'chan' qchan + ,substring(pricing->'customer'->>'chan',1,1) qchan ,pricing->'customer'->>'cust' qcust ,pricing->'product'->>'itemrel' item_fit ,(pricing->'product'->>'pltq')::numeric pltq