## Bug description
Hi, after upgrade from 1.23.1 to 1.24.0 we see in the migration this error
```
django.db.utils.NotSupportedError: cannot create index on partitioned table "posthog_event" concurrently
``` 

We have the events table partitioned using the inbuilt tool and apparently the migration does not handle that well. 

## Environment
Self-hosted instance running in Kubernetes using upstream docker images
posthog/migrations/0141_events_created_at_index.py
from django.contrib.postgres.operations import AddIndexConcurrently  
from django.db import migrations, models
class Migration(migrations.Migration):
    atomic = False
    dependencies = [
        ("posthog", "0140_team_data_attributes"),
    ]
    operations = [
        AddIndexConcurrently(
            model_name="event", index=models.Index(fields=["created_at"], name="posthog_eve_created_6a34ca_idx"),
        ),
    ]