0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/ee/migrations/0006_event_definition_verification.py
Alex Gyujin Kim 204ca1bc92
Add verified properties to event definitions (#8081)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2022-01-18 08:38:55 -06:00

38 lines
1.1 KiB
Python

# Generated by Django 3.2.5 on 2022-01-17 20:13
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("ee", "0005_project_based_permissioning"),
]
operations = [
migrations.AddField(
model_name="enterpriseeventdefinition",
name="verified",
field=models.BooleanField(blank=True, default=False),
),
migrations.AddField(
model_name="enterpriseeventdefinition",
name="verified_at",
field=models.DateTimeField(blank=True, null=True),
),
migrations.AddField(
model_name="enterpriseeventdefinition",
name="verified_by",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="verifying_user",
to=settings.AUTH_USER_MODEL,
),
),
]