: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(tasks): drop unused task session storage key LIKE index (#94087)
posthog[bot]e6982dd34d08
diff --git a/products/tasks/backend/migrations/0116_drop_task_session_storage_key_like_index.py b/products/tasks/backend/migrations/0116_drop_task_session_storage_key_like_index.pynew file mode 100644index 000000000000..1d5c90dbd946--- /dev/null+++ b/products/tasks/backend/migrations/0116_drop_task_session_storage_key_like_index.py@@ -0,0 +1,21 @@+from django.db import migrations++from posthog.migration_helpers import DropIndexConcurrently+++class Migration(migrations.Migration):+ atomic = False++ dependencies = [+ ("tasks", "0115_teamtasksconfig_usertasksconfig"),+ ]++ operations = [+ # No SeparateDatabaseAndState wrapper: Django never recorded this+ # auto-generated `_like` companion in migration state.+ DropIndexConcurrently(+ index_name="posthog_task_session_object_storage_key_68a9145c_like",+ table_name="posthog_task_session",+ columns='("object_storage_key" varchar_pattern_ops)',+ ),+ ]diff --git a/products/tasks/backend/migrations/max_migration.txt b/products/tasks/backend/migrations/max_migration.txtindex 3ca5fc13a057..6d052cdaf8cd 100644--- a/products/tasks/backend/migrations/max_migration.txt+++ b/products/tasks/backend/migrations/max_migration.txt@@ -1 +1 @@-0115_teamtasksconfig_usertasksconfig+0116_drop_task_session_storage_key_like_index