: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
# Generated by Django 4.2.22 on 2025-10-25 16:38
import django.db.models.deletion
from django.db import migrations, models
import posthog.models.utils
class Migration(migrations.Migration):
dependencies = [
("posthog", "0888_datawarehousemanagedviewset_and_more"),
("ee", "0028_alter_conversation_type"),
]
operations = [
migrations.CreateModel(
name="LLMTraceSummary",
fields=[
(
"id",
models.UUIDField(
default=posthog.models.utils.UUIDT, editable=False, primary_key=True, serialize=False
),
),
("created_at", models.DateTimeField(auto_now_add=True, null=True)),
("updated_at", models.DateTimeField(auto_now=True, null=True)),
(
"trace_summary_type",
models.CharField(
choices=[("issues_search", "Issues Search")], default="issues_search", max_length=100
),
),
("trace_id", models.CharField(help_text="Trace ID", max_length=255)),
("summary", models.CharField(help_text="Trace summary", max_length=1000)),
("team", models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="posthog.team")),
],
options={
"indexes": [
models.Index(
fields=["team", "trace_id", "trace_summary_type"], name="ee_llmtrace_team_id_93a147_idx"
)
],
},
),
migrations.AddConstraint(
model_name="llmtracesummary",
constraint=models.UniqueConstraint(
fields=("team", "trace_id", "trace_summary_type"), name="unique_trace_summary"
),
),
]