: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.18 on 2026-10-15 07:54
import django.db.models.manager
from django.db import migrations, models
import posthog.uuidt
class Migration(migrations.Migration):
dependencies = [
("today", "0001_initial"),
]
operations = [
migrations.CreateModel(
name="TodayHighlights",
fields=[
("team_id", models.BigIntegerField(db_index=True)),
(
"id",
models.UUIDField(default=posthog.uuidt.uuid7, editable=False, primary_key=True, serialize=False),
),
("user_id", models.BigIntegerField()),
("local_day", models.DateField()),
("key", models.CharField(max_length=32)),
(
"status",
models.CharField(
choices=[("computing", "Computing"), ("ready", "Ready"), ("failed", "Failed")],
default="computing",
max_length=16,
),
),
("content", models.JSONField(default=dict)),
("failed_sources", models.BooleanField(default=False)),
("created_at", models.DateTimeField(auto_now_add=True)),
("ready_at", models.DateTimeField(blank=True, null=True)),
],
options={
"abstract": False,
"default_manager_name": "all_teams",
"indexes": [
models.Index(fields=["team_id", "user_id", "key", "-created_at"], name="today_highlights_key_idx")
],
},
managers=[
("all_teams", django.db.models.manager.Manager()),
],
),
]