change name to not _dev
This commit is contained in:
parent
97beed28fd
commit
d0cbd464cc
@ -2,9 +2,9 @@
|
||||
--LANGUAGE plpgsql AS
|
||||
--$func$
|
||||
--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 MATERIALIZED VIEW rlarp.price_pool_dev AS (
|
||||
CREATE MATERIALIZED VIEW rlarp.price_pool AS (
|
||||
WITH
|
||||
agg AS (
|
||||
SELECT
|
||||
@ -241,5 +241,5 @@ CREATE MATERIALIZED VIEW rlarp.price_pool_dev AS (
|
||||
--LIMIT 1000
|
||||
) 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;
|
||||
|
@ -115,7 +115,7 @@ lq AS MATERIALIZED (
|
||||
,seas.*
|
||||
FROM
|
||||
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)
|
||||
AND p.gset ? 'cust'
|
||||
AND p.gset ? 'v1ds'
|
||||
|
Loading…
Reference in New Issue
Block a user