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.

refactor(dashboards): drop retired saved view table (#106756)

Matt Puaa10e9ada61f2
diff --git a/products/dashboards/backend/migrations/0023_drop_dashboard_saved_view_table.py b/products/dashboards/backend/migrations/0023_drop_dashboard_saved_view_table.py
new file mode 100644
index 000000000000..cd9ed13c49f7
--- /dev/null
+++ b/products/dashboards/backend/migrations/0023_drop_dashboard_saved_view_table.py
@@ -0,0 +1,13 @@
+from django.db import migrations
+
+from posthog.migration_helpers import SafeDropTable
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("dashboards", "0022_remove_dashboardsavedview_from_state"),
+ ]
+
+ operations = [
+ SafeDropTable("posthog_dashboard_saved_view"),
+ ]
diff --git a/products/dashboards/backend/migrations/max_migration.txt b/products/dashboards/backend/migrations/max_migration.txt
index f6a6cf52470e..c9ad2612edff 100644
--- a/products/dashboards/backend/migrations/max_migration.txt
+++ b/products/dashboards/backend/migrations/max_migration.txt
@@ -1 +1 @@
-0022_remove_dashboardsavedview_from_state
+0023_drop_dashboard_saved_view_table