Skip to content

Commit

Permalink
Add DISTINCT to ServiceWorker queries (#1301)
Browse files Browse the repository at this point in the history
* Add distinct to SW queries

* Review feedback
  • Loading branch information
tunetheweb authored Sep 20, 2020
1 parent 3300d73 commit 4b23bd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sql/util/manifests.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SELECT
date,
DISTINCT date,
client,
page,
url,
Expand Down
2 changes: 1 addition & 1 deletion sql/util/pwa_candidates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RETURNS STRING LANGUAGE js AS """
""";

SELECT
date,
DISTINCT date,
client,
REGEXP_REPLACE(page, "^http:", "https:") AS pwa_url,
pathResolve(REGEXP_REPLACE(page, "^http:", "https:"),
Expand Down
2 changes: 1 addition & 1 deletion sql/util/service_workers.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SELECT
date,
DISTINCT date,
client,
page,
url,
Expand Down

0 comments on commit 4b23bd5

Please sign in to comment.