diff --git a/posthog/management/commands/test_migrations_are_safe.py b/posthog/management/commands/test_migrations_are_safe.py index c3f5380234413..ebd26935f084b 100644 --- a/posthog/management/commands/test_migrations_are_safe.py +++ b/posthog/management/commands/test_migrations_are_safe.py @@ -13,27 +13,42 @@ def run_and_check_migration(variable): try: results = re.findall(r"([a-z]+)\/migrations\/([a-zA-Z_0-9]+)\.py", variable)[0] sql = call_command("sqlmigrate", results[0], results[1]) - if ( - re.findall(r"(?