feat: update Elasticsearch connector handling and display name

This commit is contained in:
Anish Sarkar 2025-10-12 09:56:52 +05:30
parent 55d752e3c8
commit c3d249682f
3 changed files with 9 additions and 2 deletions

View file

@ -52,5 +52,11 @@ def upgrade() -> None:
def downgrade() -> None:
"""Remove 'ELASTICSEARCH_CONNECTOR' from enum types."""
"""Remove 'ELASTICSEARCH_CONNECTOR' from enum types.
Note: PostgreSQL does not support removing enum values that may be in use.
Manual intervention would be required if rollback is necessary:
1. Delete all rows using ELASTICSEARCH_CONNECTOR
2. Manually remove the enum value using ALTER TYPE ... DROP VALUE (requires no dependencies)
"""
pass