Delete conflicting records from IndexAttempt on upgrade/downgrade (#83)

This commit is contained in:
Yuhong Sun 2023-05-31 08:54:09 -07:00 committed by GitHub
parent bae83bc101
commit 8c9b3079aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ depends_on = None
def upgrade() -> None:
op.execute("TRUNCATE TABLE index_attempt")
op.create_table(
"connector",
sa.Column("id", sa.Integer(), nullable=False),