diff --git a/latest_migrations.manifest b/latest_migrations.manifest index ede9b35bf26623..b9d6b3828d50df 100644 --- a/latest_migrations.manifest +++ b/latest_migrations.manifest @@ -5,7 +5,7 @@ contenttypes: 0002_remove_content_type_name ee: 0016_rolemembership_organization_member otp_static: 0002_throttling otp_totp: 0002_auto_20190420_0723 -posthog: 0404_remove_propertydefinition_property_type_is_valid_and_more +posthog: 0405_validate_property_type_is_valid sessions: 0001_initial social_django: 0010_uid_db_index two_factor: 0007_auto_20201201_1019 diff --git a/posthog/migrations/0405_validate_property_type_is_valid.py b/posthog/migrations/0405_validate_property_type_is_valid.py new file mode 100644 index 00000000000000..a0455d00b0ddc8 --- /dev/null +++ b/posthog/migrations/0405_validate_property_type_is_valid.py @@ -0,0 +1,12 @@ +from django.contrib.postgres.operations import ValidateConstraint +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("posthog", "0404_remove_propertydefinition_property_type_is_valid_and_more"), + ] + + operations = [ + ValidateConstraint(model_name="propertydefinition", name="property_type_is_valid"), + ]