:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(clickhouse): writable_events doesn't exist on DATA (#61036)
Paweł Szczurca854377d50c
diff --git a/posthog/clickhouse/migrations/0267_wire_up_existing_dmat_string_columns.py b/posthog/clickhouse/migrations/0267_wire_up_existing_dmat_string_columns.pyindex 8c8a0d121197..2dddb1f75d12 100644--- a/posthog/clickhouse/migrations/0267_wire_up_existing_dmat_string_columns.py+++ b/posthog/clickhouse/migrations/0267_wire_up_existing_dmat_string_columns.py@@ -116,7 +116,7 @@ operations += [start=_STRING_RANGE_START,end_exclusive=_STRING_RANGE_END,),- node_roles=[NodeRole.DATA] + ([NodeRole.INGESTION_EVENTS] if _is_cloud else []),+ node_roles=([NodeRole.INGESTION_EVENTS] if _is_cloud else [NodeRole.DATA]),sharded=False,is_alter_on_replicated_table=False,),