vault backup: 2023-10-18 07:50:10

This commit is contained in:
Paul Trowbridge 2023-10-18 07:50:10 -04:00
parent ea4d8213d4
commit 4baa1c7382

View File

@ -75,13 +75,13 @@ CREATE TABLE IF NOT EXISTS rlarp.price_pool_dev AS (
SELECT
jsonb_strip_nulls(
jsonb_build_object(
'customer' ,CASE WHEN GROUPING(customer ) = 0 THEN customer END
,'chanwide' ,CASE WHEN GROUPING(chanwide ) = 0 THEN chanwide END
,'nursery_region' ,CASE WHEN GROUPING(nursery_region ) = 0 THEN nursery_region END
'customer' ,CASE WHEN GROUPING(customer ) = 0 THEN customer END
,'chanwide' ,CASE WHEN GROUPING(chanwide ) = 0 THEN chanwide END
,'nursery_region' ,CASE WHEN GROUPING(nursery_region ) = 0 THEN nursery_region END
,'greenhouse_region' ,CASE WHEN GROUPING(greenhouse_region ) = 0 THEN greenhouse_region END
,'baseitem' ,CASE WHEN GROUPING(baseitem ) = 0 THEN baseitem END
,'v1dataseg' ,CASE WHEN GROUPING(v1dataseg) = 0 THEN v1dataseg END
,'v0dataseg' ,CASE WHEN GROUPING(v0dataseg) = 0 THEN v0dataseg END
,'baseitem' ,CASE WHEN GROUPING(baseitem ) = 0 THEN baseitem END
,'v1dataseg' ,CASE WHEN GROUPING(v1dataseg ) = 0 THEN v1dataseg END
,'v0dataseg' ,CASE WHEN GROUPING(v0dataseg ) = 0 THEN v0dataseg END
)
) gset
,oseas