Skip to content

Commit

Permalink
Merge pull request #12 from mozilla-services/clean-up-queries
Browse files Browse the repository at this point in the history
Delete pagerduty from changes.sql and deployments.sql
  • Loading branch information
hackebrot authored May 21, 2024
2 parents 185133a + 353ede2 commit 9bd66dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion queries/changes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ LEFT JOIN
`four_keys.services` AS service_catalog
ON
CASE
WHEN pushes.source = "pagerduty" THEN pushes.metadata_service = service_catalog.pagerduty_service
WHEN pushes.source = "github" THEN pushes.metadata_service = service_catalog.github_repository
ELSE FALSE
END
2 changes: 0 additions & 2 deletions queries/deployments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ WITH
`four_keys.services` AS service_catalog
ON
CASE
WHEN deploys.source = "pagerduty" THEN deploys.metadata_service = service_catalog.pagerduty_service
WHEN deploys.source = "github" THEN deploys.metadata_service = service_catalog.github_repository
ELSE FALSE
END
Expand All @@ -74,7 +73,6 @@ WITH
`four_keys.services` AS service_catalog
ON
CASE
WHEN changes_raw.source = "pagerduty" THEN changes_raw.metadata_service = service_catalog.pagerduty_service
WHEN changes_raw.source = "github" THEN changes_raw.metadata_service = service_catalog.github_repository
ELSE FALSE
END
Expand Down

0 comments on commit 9bd66dc

Please sign in to comment.