Skip to content

Commit

Permalink
Update query snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Twixes committed Aug 2, 2024
1 parent 02d245f commit 039719f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 33 deletions.
9 changes: 6 additions & 3 deletions posthog/api/test/__snapshots__/test_action.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,11 @@
"posthog_user"."email_opt_in"
FROM "posthog_action"
LEFT OUTER JOIN "posthog_action_events" ON ("posthog_action"."id" = "posthog_action_events"."action_id")
INNER JOIN "posthog_team" ON ("posthog_action"."team_id" = "posthog_team"."id")
LEFT OUTER JOIN "posthog_user" ON ("posthog_action"."created_by_id" = "posthog_user"."id")
WHERE (NOT "posthog_action"."deleted"
AND "posthog_action"."team_id" = 2
AND "posthog_action"."team_id" = 2)
AND "posthog_team"."project_id" = 2)
GROUP BY "posthog_action"."id",
"posthog_user"."id"
ORDER BY "posthog_action"."last_calculated_at" DESC,
Expand Down Expand Up @@ -459,10 +460,11 @@
"posthog_user"."email_opt_in"
FROM "posthog_action"
LEFT OUTER JOIN "posthog_action_events" ON ("posthog_action"."id" = "posthog_action_events"."action_id")
INNER JOIN "posthog_team" ON ("posthog_action"."team_id" = "posthog_team"."id")
LEFT OUTER JOIN "posthog_user" ON ("posthog_action"."created_by_id" = "posthog_user"."id")
WHERE (NOT "posthog_action"."deleted"
AND "posthog_action"."team_id" = 2
AND "posthog_action"."team_id" = 2)
AND "posthog_team"."project_id" = 2)
GROUP BY "posthog_action"."id",
"posthog_user"."id"
ORDER BY "posthog_action"."last_calculated_at" DESC,
Expand Down Expand Up @@ -659,10 +661,11 @@
"posthog_user"."email_opt_in"
FROM "posthog_action"
LEFT OUTER JOIN "posthog_action_events" ON ("posthog_action"."id" = "posthog_action_events"."action_id")
INNER JOIN "posthog_team" ON ("posthog_action"."team_id" = "posthog_team"."id")
LEFT OUTER JOIN "posthog_user" ON ("posthog_action"."created_by_id" = "posthog_user"."id")
WHERE (NOT "posthog_action"."deleted"
AND "posthog_action"."team_id" = 2
AND "posthog_action"."team_id" = 2)
AND "posthog_team"."project_id" = 2)
GROUP BY "posthog_action"."id",
"posthog_user"."id"
ORDER BY "posthog_action"."last_calculated_at" DESC,
Expand Down
3 changes: 2 additions & 1 deletion posthog/api/test/__snapshots__/test_feature_flag.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1909,8 +1909,9 @@
"posthog_user"."events_column_config",
"posthog_user"."email_opt_in"
FROM "posthog_featureflag"
INNER JOIN "posthog_team" ON ("posthog_featureflag"."team_id" = "posthog_team"."id")
LEFT OUTER JOIN "posthog_user" ON ("posthog_featureflag"."created_by_id" = "posthog_user"."id")
WHERE ("posthog_featureflag"."team_id" = 2
WHERE ("posthog_team"."project_id" = 2
AND "posthog_featureflag"."id" = 2)
LIMIT 21
'''
Expand Down
59 changes: 30 additions & 29 deletions posthog/api/test/__snapshots__/test_insight.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1215,8 +1215,9 @@
'''
SELECT COUNT(*) AS "__count"
FROM "posthog_dashboarditem"
INNER JOIN "posthog_team" ON ("posthog_dashboarditem"."team_id" = "posthog_team"."id")
WHERE (NOT ("posthog_dashboarditem"."deleted")
AND "posthog_dashboarditem"."team_id" = 2)
AND "posthog_team"."project_id" = 2)
'''
# ---
# name: TestInsight.test_listing_insights_does_not_nplus1.26
Expand Down Expand Up @@ -1331,38 +1332,38 @@
"posthog_user"."hedgehog_config",
"posthog_user"."events_column_config",
"posthog_user"."email_opt_in",
T4."id",
T4."password",
T4."last_login",
T4."first_name",
T4."last_name",
T4."is_staff",
T4."is_active",
T4."date_joined",
T4."uuid",
T4."current_organization_id",
T4."current_team_id",
T4."email",
T4."pending_email",
T4."temporary_token",
T4."distinct_id",
T4."is_email_verified",
T4."requested_password_reset_at",
T4."has_seen_product_intro_for",
T4."strapi_id",
T4."theme_mode",
T4."partial_notification_settings",
T4."anonymize_data",
T4."toolbar_mode",
T4."hedgehog_config",
T4."events_column_config",
T4."email_opt_in"
T5."id",
T5."password",
T5."last_login",
T5."first_name",
T5."last_name",
T5."is_staff",
T5."is_active",
T5."date_joined",
T5."uuid",
T5."current_organization_id",
T5."current_team_id",
T5."email",
T5."pending_email",
T5."temporary_token",
T5."distinct_id",
T5."is_email_verified",
T5."requested_password_reset_at",
T5."has_seen_product_intro_for",
T5."strapi_id",
T5."theme_mode",
T5."partial_notification_settings",
T5."anonymize_data",
T5."toolbar_mode",
T5."hedgehog_config",
T5."events_column_config",
T5."email_opt_in"
FROM "posthog_dashboarditem"
INNER JOIN "posthog_team" ON ("posthog_dashboarditem"."team_id" = "posthog_team"."id")
LEFT OUTER JOIN "posthog_user" ON ("posthog_dashboarditem"."created_by_id" = "posthog_user"."id")
LEFT OUTER JOIN "posthog_user" T4 ON ("posthog_dashboarditem"."last_modified_by_id" = T4."id")
LEFT OUTER JOIN "posthog_user" T5 ON ("posthog_dashboarditem"."last_modified_by_id" = T5."id")
WHERE (NOT ("posthog_dashboarditem"."deleted")
AND "posthog_dashboarditem"."team_id" = 2)
AND "posthog_team"."project_id" = 2)
ORDER BY "posthog_dashboarditem"."order" ASC
LIMIT 100
'''
Expand Down

0 comments on commit 039719f

Please sign in to comment.