## Is your feature request related to a problem?

we currently run e2e tests with postgres backend, potentially causing us to miss bugs as we are deprecating Postgres (#6662)

## Describe the solution you'd like

Run e2e tests with clickhouse

## Describe alternatives you've considered



## Additional context

I'll pick this up tomorrow

#### *Thank you* for your feature request – we love each and every one!

posthog/tasks/test/test_calculate_event_property_usage.py
Insight.objects.create(team=team, filters={"events": [{"id": "$pageview"}]})
            
            expected_event_definitions = [
                {"name": "installed_app", "volume_30_day": 100, "query_usage_30_day": 0},
                {"name": "rated_app", "volume_30_day": 73, "query_usage_30_day": 0},
                {"name": "purchase", "volume_30_day": 16, "query_usage_30_day": 0},
                {"name": "entered_free_trial", "volume_30_day": 0, "query_usage_30_day": 0},
                {"name": "watched_movie", "volume_30_day": 87, "query_usage_30_day": 0},
                {"name": "$pageview", "volume_30_day": 327, "query_usage_30_day": 1},
            ]
            calculate_event_property_usage_for_team(team.pk)
            self.assertEqual(EventDefinition.objects.filter(team=team).count(), len(expected_event_definitions))
            for item in expected_event_definitions:
                instance = EventDefinition.objects.get(name=item["name"], team=team)
                self.assertEqual(instance.volume_30_day, item["volume_30_day"], item)
                self.assertEqual(instance.query_usage_30_day, item["query_usage_30_day"], item)
        def test_updating_event_properties_or_related_updates_property_definitions(self) -> None:
            random.seed(900)
            org = Organization.objects.create(name="Demo Org")
            team = create_demo_team(org, None, None)
            expected_properties = [
                "purchase",
                "$current_url",
                "$browser",
                "is_first_movie",
                "app_rating",
                "plan",
                "first_visit",
                "purchase_value",
            ]