: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
chore(dashboards): drop the github_url column from dashboard templates (#100630)
posthog[bot]04999e442839
diff --git a/products/dashboards/backend/migrations/0021_drop_dashboardtemplate_github_url_column.py b/products/dashboards/backend/migrations/0021_drop_dashboardtemplate_github_url_column.pynew file mode 100644index 000000000000..a26411797b53--- /dev/null+++ b/products/dashboards/backend/migrations/0021_drop_dashboardtemplate_github_url_column.py@@ -0,0 +1,19 @@+from django.db import migrations+++class Migration(migrations.Migration):+ dependencies = [+ ("dashboards", "0020_untrack_dashboardtemplate_github_url"),+ ]++ operations = [+ migrations.SeparateDatabaseAndState(+ state_operations=[],+ database_operations=[+ migrations.RunSQL(+ sql='ALTER TABLE "posthog_dashboardtemplate" DROP COLUMN IF EXISTS "github_url"',+ reverse_sql='ALTER TABLE "posthog_dashboardtemplate" ADD COLUMN "github_url" varchar(8201) NULL',+ ),+ ],+ ),+ ]diff --git a/products/dashboards/backend/migrations/max_migration.txt b/products/dashboards/backend/migrations/max_migration.txtindex 7b5bf893e7a7..ed2ac541b3e8 100644--- a/products/dashboards/backend/migrations/max_migration.txt+++ b/products/dashboards/backend/migrations/max_migration.txt@@ -1 +1 @@-0020_untrack_dashboardtemplate_github_url+0021_drop_dashboardtemplate_github_url_column