Skip to content

: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.

feat(navigation): drop the user product list table (#117257)

Rafael Audibert3b4cd986aaa6
diff --git a/posthog/migrations/1401_drop_userproductlist_table.py b/posthog/migrations/1401_drop_userproductlist_table.py
new file mode 100644
index 000000000000..4bd23db51081
--- /dev/null
+++ b/posthog/migrations/1401_drop_userproductlist_table.py
@@ -0,0 +1,19 @@
+from django.db import migrations
+
+from posthog.migration_helpers import SafeDropTable
+
+
+class Migration(migrations.Migration):
+ """Drop the table 1398 took out of Django state.
+
+ 1398 removed UserProductList from state and dropped its foreign keys, and kept the table so
+ pods on the old release could still read it through a rolling deploy. Nothing reads it now.
+ """
+
+ dependencies = [
+ ("posthog", "1400_file_system_view_days"),
+ ]
+
+ operations = [
+ SafeDropTable("posthog_userproductlist"),
+ ]
diff --git a/posthog/migrations/max_migration.txt b/posthog/migrations/max_migration.txt
index 24c9597dc6de..a7bdeb7b93c4 100644
--- a/posthog/migrations/max_migration.txt
+++ b/posthog/migrations/max_migration.txt
@@ -1 +1 @@
-1400_file_system_view_days
+1401_drop_userproductlist_table