From f76be7052dbb2708cc3ea6e3d1c1afb26565ffae Mon Sep 17 00:00:00 2001 From: ted kaemming <65315+tkaemming@users.noreply.github.com> Date: Fri, 3 Jan 2025 00:57:39 -0800 Subject: [PATCH] test(async-migrations): Change timestamp upper bound to account for it being 2025 (#27234) --- .../migrations/0007_persons_and_groups_on_events_backfill.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posthog/async_migrations/migrations/0007_persons_and_groups_on_events_backfill.py b/posthog/async_migrations/migrations/0007_persons_and_groups_on_events_backfill.py index f51d171dfe855..26ff983ff39f4 100644 --- a/posthog/async_migrations/migrations/0007_persons_and_groups_on_events_backfill.py +++ b/posthog/async_migrations/migrations/0007_persons_and_groups_on_events_backfill.py @@ -1,3 +1,4 @@ +from datetime import datetime from functools import cached_property from typing import Union @@ -104,7 +105,7 @@ class Migration(AsyncMigrationDefinition): str, ), "TIMESTAMP_UPPER_BOUND": ( - "2025-01-01", + f"{datetime.now().year + 1}-01-01", "Timestamp upper bound for events to backfill", str, ),