diff --git a/posthog/migrations/0404_remove_propertydefinition_property_type_is_valid_and_more.py b/posthog/migrations/0404_remove_propertydefinition_property_type_is_valid_and_more.py index ae84002a79b581..a90c8214064bdb 100644 --- a/posthog/migrations/0404_remove_propertydefinition_property_type_is_valid_and_more.py +++ b/posthog/migrations/0404_remove_propertydefinition_property_type_is_valid_and_more.py @@ -1,5 +1,5 @@ # Generated by Django 4.2.11 on 2024-04-21 21:11 - +from django.contrib.postgres.operations import AddConstraintNotValid from django.db import migrations, models @@ -36,7 +36,7 @@ class Migration(migrations.Migration): choices=[(1, "event"), (2, "person"), (3, "group"), (4, "session")], default=1 ), ), - migrations.AddConstraint( + AddConstraintNotValid( model_name="propertydefinition", constraint=models.CheckConstraint( check=models.Q(("property_type__in", ["DateTime", "String", "Numeric", "Boolean", "Duration"])),