Remove extra missed Enum (#638)

This commit is contained in:
Yuhong Sun 2023-10-27 13:58:20 -07:00 committed by GitHub
parent ca0f186b0e
commit fad311282b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ def upgrade() -> None:
# To remove those complications, all Enums are only handled application side moving forward.
# This migration exists to ensure that existing users don't run into upgrade issues.
op.alter_column("index_attempt", "status", type_=String)
op.alter_column("connector_credential_pair", "last_attempt_status", type_=String)
op.execute("DROP TYPE IF EXISTS indexingstatus")