change name to not _dev

This commit is contained in:
Paul Trowbridge 2025-01-15 02:51:26 -05:00
parent 97beed28fd
commit d0cbd464cc
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
--LANGUAGE plpgsql AS --LANGUAGE plpgsql AS
--$func$ --$func$
--BEGIN; --BEGIN;
DROP MATERIALIZED VIEW IF EXISTS rlarp.price_pool_dev CASCADE; DROP MATERIALIZED VIEW IF EXISTS rlarp.price_pool CASCADE;
--CREATE TABLE IF NOT EXISTS rlarp.price_pool_dev AS ( --CREATE TABLE IF NOT EXISTS rlarp.price_pool_dev AS (
CREATE MATERIALIZED VIEW rlarp.price_pool_dev AS ( CREATE MATERIALIZED VIEW rlarp.price_pool AS (
WITH WITH
agg AS ( agg AS (
SELECT SELECT
@ -241,5 +241,5 @@ CREATE MATERIALIZED VIEW rlarp.price_pool_dev AS (
--LIMIT 1000 --LIMIT 1000
) WITH DATA; ) WITH DATA;
create index ppd_gset on rlarp.price_pool_dev using gin (gset); create index ppd_gset on rlarp.price_pool using gin (gset);
--END; --END;

View File

@ -115,7 +115,7 @@ lq AS MATERIALIZED (
,seas.* ,seas.*
FROM FROM
lqg g lqg g
LEFT OUTER JOIN rlarp.price_pool_dev p ON LEFT OUTER JOIN rlarp.price_pool p ON
p.gset @> jsonb_build_object('mold',g.part_group) p.gset @> jsonb_build_object('mold',g.part_group)
AND p.gset ? 'cust' AND p.gset ? 'cust'
AND p.gset ? 'v1ds' AND p.gset ? 'v1ds'