mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-13 17:40:57 +02:00
remove unnecessary index drop (#1968)
This commit is contained in:
parent
1b3154188d
commit
38af12ab97
@ -87,11 +87,6 @@ def downgrade() -> None:
|
|||||||
)
|
)
|
||||||
op.drop_column("index_attempt", "connector_credential_pair_id")
|
op.drop_column("index_attempt", "connector_credential_pair_id")
|
||||||
|
|
||||||
# Recreate the old index
|
|
||||||
op.drop_index(
|
|
||||||
"ix_index_attempt_latest_for_connector_credential_pair",
|
|
||||||
table_name="index_attempt",
|
|
||||||
)
|
|
||||||
op.create_index(
|
op.create_index(
|
||||||
"ix_index_attempt_latest_for_connector_credential_pair",
|
"ix_index_attempt_latest_for_connector_credential_pair",
|
||||||
"index_attempt",
|
"index_attempt",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user