Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ mozilla_account_change_events AS (
WHERE
old_subscription IS NOT NULL
AND subscription.mozilla_account_id_sha256 IS DISTINCT FROM old_subscription.mozilla_account_id_sha256
AND subscription.ended_at IS NULL
),
plan_change_events AS (
SELECT
Expand Down Expand Up @@ -91,6 +92,7 @@ plan_change_events AS (
subscription_changes
WHERE
subscription.provider_plan_id != old_subscription.provider_plan_id
AND subscription.ended_at IS NULL
),
trial_change_events AS (
SELECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mozilla_account_change_events AS (
WHERE
old_subscription IS NOT NULL
AND subscription.mozilla_account_id_sha256 IS DISTINCT FROM old_subscription.mozilla_account_id_sha256
AND subscription.ended_at IS NULL
),
plan_change_events AS (
SELECT
Expand Down Expand Up @@ -105,6 +106,7 @@ plan_change_events AS (
subscription_changes
WHERE
subscription.provider_plan_id != old_subscription.provider_plan_id
AND subscription.ended_at IS NULL
),
trial_change_events AS (
SELECT
Expand Down