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.

1.0 KB
Raw Blame
# Generated by Django 5.2.14 on 2026-05-29 16:01

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("logs", "0013_alter_logsalertconfiguration_threshold_count"),
        ("posthog", "1186_activitylog_ip_address"),
    ]

    operations = [
        migrations.CreateModel(
            name="TeamLogsConfig",
            fields=[
                (
                    "team",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        primary_key=True,
                        serialize=False,
                        to="posthog.team",
                    ),
                ),
                (
                    "logs_distinct_id_attribute_key",
                    models.CharField(db_default="posthogDistinctId", default="posthogDistinctId", max_length=200),
                ),
            ],
            options={
                "abstract": False,
            },
        ),
    ]