mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
feat: update Elasticsearch connector handling and display name
This commit is contained in:
parent
55d752e3c8
commit
c3d249682f
3 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue