: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 5.2.14 on 2026-07-23 06:45
import django.db.models.manager
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import posthog.uuidt
class Migration(migrations.Migration):
dependencies = [
("posthog", "1262_organization_members_can_see_org_members"),
("signals", "0070_signalscoutconfig_output_destinations"),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name="SignalScoutNote",
fields=[
(
"id",
models.UUIDField(
default=posthog.uuidt.uuid7,
editable=False,
primary_key=True,
serialize=False,
),
),
(
"skill_name",
models.CharField(blank=True, db_default="", default="", max_length=200),
),
("content", models.TextField()),
("expires_at", models.DateTimeField(blank=True, null=True)),
("created_at", models.DateTimeField(auto_now_add=True)),
(
"created_by",
models.ForeignKey(
blank=True,
db_constraint=False,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="+",
to=settings.AUTH_USER_MODEL,
),
),
(
"team",
models.ForeignKey(
db_constraint=False,
on_delete=django.db.models.deletion.CASCADE,
related_name="signal_scout_notes",
to="posthog.team",
),
),
],
options={
"verbose_name": "Signal scout note",
"verbose_name_plural": "Signal scout notes",
"default_manager_name": "all_teams",
"indexes": [
models.Index(
fields=["team", "-created_at"],
name="signal_scout_note_recent_idx",
)
],
},
managers=[
("all_teams", django.db.models.manager.Manager()),
],
),
]