packages/common/prisma/migrations/20240412103300_aws_resources/migration.sql [124:140]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CREATE MATERIALIZED VIEW aws_resources AS
SELECT
    partition,
    service,
    region,
    account_id,
    resource_type,
    arn,
    bool_or(taggable) as taggable,
    jsonb_aggregate(tags) as tags
FROM aws_resources_raw()
GROUP BY 
    partition,
    service,
    region,
    account_id,
    resource_type,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



packages/common/prisma/migrations/20240508195000_refresh_aws_resources/migration.sql [88:104]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CREATE MATERIALIZED VIEW aws_resources AS
SELECT
    partition,
    service,
    region,
    account_id,
    resource_type,
    arn,
    bool_or(taggable) as taggable,
    jsonb_aggregate(tags) as tags
FROM aws_resources_raw()
GROUP BY
    partition,
    service,
    region,
    account_id,
    resource_type,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



